Description Usage Arguments Examples
This function returns order-th sample moment.
1 | ry_momentX(x, order = 1, center = FALSE)
|
x |
is a numeric vector. |
order |
is order of moment. |
center |
is logical; when TRUE, moment is around mean otherwise zero |
1 2 3 | n <- 10
x <- runif(n)
out2 <- ry_momentX(x,order=2,center=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.