Tomaso Bulligan
April 25, 2015
You know you always wanted one.
PDC takes two numbers and returns the percentage difference between them.
Quick. Easy. Free.
Try it now!
Go to: http://tbulligan.shinyapps.io/PercentageDifferenceCalculator/
It takes two values…
x <- 9.63
y <- 9.75
…returns their difference…
print(d <- diff(c(x, y)))
[1] 0.12
…and returns their percentage difference.
paste0(round(d / x * 100, digits = 2), "%")
[1] "1.25%"
Written with R, a software environment for statistical computing, and Shiny, a web application framework for R.
Kindly hosted by shinyapps.io
This work of love would not exist without the fantastic Data Science Specialization offered by Johns Hopkins University.