mu_r: mu_r

View source: R/func_mu_r.R

mu_rR Documentation

mu_r

Description

mu_r returns the estimated rth moment of a vector.

Usage

mu_r(x, r)

Arguments

x

a numeric vector.

r

the degree moment requiring calculation

Value

Returns the estimated rth moment of a vector.

References

Rayner, J.C.W and Livingston, G. C. (2022). An Introduction to Cochran-Mantel-Haenszel Testing and Nonparametric ANOVA. Wiley.

Examples

x_vec = rnorm(10)
mu_r(x_vec,2)

CMHNPA documentation built on Feb. 16, 2023, 7:20 p.m.

Related to mu_r in CMHNPA...