calculates a delta between X or Y (or sequential X values) expressed as a percentage.
1 | percent_change(x, y = NULL)
|
x |
a numeric vector |
y |
(optionally) an additional numeric vector. If y is not provided, each value in x will be compared to the subsequent value - if y is, each x value will be compared to the equivalent y value |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.