cummean {tidyft} | R Documentation |
Returns a vector whose elements are the cumulative mean of the elements of the argument.
cummean(x)
x |
a numeric or complex object, or an object that can be coerced to one of these. |
A numeric vector
cummean(1:10)