cumret | R Documentation |
cumret
is a function that computes the cumulative product of a numeric
vector x
and returns the last element.
cumret(x)
x |
Numeric vector |
Used in scripts: Robust function: TRUE
cumret
returns the last value in the cumulative product vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.