ry_momentX: Arbitrary moment

Description Usage Arguments Examples

Description

This function returns order-th sample moment.

Usage

1
ry_momentX(x, order = 1, center = FALSE)

Arguments

x

is a numeric vector.

order

is order of moment.

center

is logical; when TRUE, moment is around mean otherwise zero

Examples

1
2
3
n <- 10
x <- runif(n)
out2 <- ry_momentX(x,order=2,center=TRUE)

ryamada22/Ronlyryamada documentation built on May 28, 2019, 10:43 a.m.