change | R Documentation |
Gives the absolute value of the per cent or total change between two values
change(from, to, type)
from |
The starting value |
to |
The finishing value |
type |
Either "percent" or "value" |
A numeric value giving the percent change or absolute change between the two values
change(200, 100, "percent")
change(200, 100, "value")
change(100, 200, "percent")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.