Description Usage Arguments Value Author(s) References See Also Examples
Returns a vector whose elements are the cumulative arithmetic mean of the elements of the argument.
1 | cummean(x)
|
x |
a numeric vector |
A numeric vector of the same length as x
. An NA
value
in x
causes the corresponding and following elements of the return
value to be NA
.
Arturo Erdely, arturo.erdely@comunidad.unam.mx
Kotz, S., Balakrishnan, N., Read, C.B, Vidakovic, B., Johnson, N.L. (2006) Encyclopedia of Statistical Sciences. Wiley, New Jersey.
cumgmean
for cummulative geometric mean, and
cumhmean
for cummulative harmonic mean.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.