View source: R/vec-cumulative-functions.R
chmean | R Documentation |
A function to return the cumulative harmonic mean of a vector.
chmean(.x)
.x |
A numeric vector |
A function to return the cumulative harmonic mean of a vector.
1 / (cumsum(1 / .x))
A numeric vector
Steven P. Sanderson II, MPH
Other Vector Function:
bootstrap_p_vec()
,
bootstrap_q_vec()
,
cgmean()
,
ckurtosis()
,
cmean()
,
cmedian()
,
csd()
,
cskewness()
,
cvar()
,
tidy_kurtosis_vec()
,
tidy_scale_zero_one_vec()
,
tidy_skewness_vec()
x <- mtcars$mpg
chmean(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.