View source: R/vec-cumulative-functions.R
| crange | R Documentation |
A function to return the cumulative range of a vector.
crange(.x)
.x |
A numeric vector |
A function to return the cumulative range of a vector. It uses max(.x[1:k]) - min(.x[1:k]) as
the basis of the function.
A numeric vector
Steven P. Sanderson II, MPH
Other Vector Function:
cgmean(),
chmean(),
ckurtosis(),
cmean(),
cmedian(),
csd(),
cskewness(),
cvar(),
euclidean_distance(),
kurtosis_vec(),
rw_range(),
skewness_vec()
x <- mtcars$mpg
crange(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.