cmean {RandomWalker} | R Documentation |
Cumulative Mean
Description
A function to return the cumulative mean of a vector.
Usage
cmean(.x)
Arguments
.x |
A numeric vector |
Details
A function to return the cumulative mean of a vector. It uses dplyr::cummean()
as the basis of the function.
Value
A numeric vector
Author(s)
Steven P. Sanderson II, MPH
See Also
Other Vector Function:
cgmean()
,
chmean()
,
ckurtosis()
,
cmedian()
,
crange()
,
csd()
,
cskewness()
,
cvar()
,
euclidean_distance()
,
kurtosis_vec()
,
rw_range()
,
skewness_vec()
Examples
x <- mtcars$mpg
cmean(x)
[Package RandomWalker version 0.2.0 Index]