pchange | R Documentation |
Calculate the percent change.
pchange(start, end, ending = "", percent_first = TRUE, value_only = FALSE)
start |
The value it started with. |
end |
The value it ended with. |
ending |
A text string. Default "". |
percent_first |
Options: T/F. Puts the percent first in the sentance. |
value_only |
Options: T/F. Will only provide the value, and no text. percent_first is over-ridden. |
pchange(start = 8, end = 1)
pchange(start = 3, end = 6, ending = " in fish landings", percent_first = TRUE)
pchange(start = 3, end = 4, ending = " in fish landings", percent_first = FALSE)
pchange(start = 3, end = 4, ending = " in fish landings", value_only = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.