View source: R/vec-cumulative-functions.R
| cvar | R Documentation |
A function to return the cumulative variance of a vector.
cvar(.x)
.x |
A numeric vector |
A function to return the cumulative variance of a vector.
exp(cummean(log(.x)))
A numeric vector. Note: The first entry will always be NaN.
Steven P. Sanderson II, MPH
Other Vector Function:
cgmean(),
chmean(),
ckurtosis(),
cmean(),
cmedian(),
crange(),
csd(),
cskewness(),
euclidean_distance(),
kurtosis_vec(),
rw_range(),
skewness_vec()
x <- mtcars$mpg
cvar(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.