Description Usage Arguments Examples
View source: R/Module_calcPercChangeSimple.R
this function just does a basic percent change calculation on a single vector. calcPercChange() applies the same basic calc retrospectively to a data frame of Year x Stock, Note: for now this simply replicates the internal function per.change.mod.fast
1 | calcPercChangeSimple(vec.in)
|
vec.in |
a vector of values. NA are possible, but will result in NA trend (no infill for now) |
1 | calcPercChangeSimple(vec.in = as.vector(Nile))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.