mu_r {CMHNPA} | R Documentation |
mu_r
returns the estimated rth moment of a vector.
mu_r(x, r)
x |
a numeric vector. |
r |
the degree moment requiring calculation |
Returns the estimated rth moment of a vector.
Rayner, J.C.W and Livingston, G. C. (2022). An Introduction to Cochran-Mantel-Haenszel Testing and Nonparametric ANOVA. Wiley.
x_vec = rnorm(10)
mu_r(x_vec,2)