L-moments {RFA}R Documentation

Compute sample L-moments

Description

Compute the sample L-moments - unbiased version.

Usage

samlmu(x, nmom = 4, sort.data = TRUE)

Arguments

x a vector of data
nmom a numeric value giving the number of sample L-moments to be computed
sort.data a locical which specifies if the vector of data x should be sorted or not.

Value

This function returns a vector of length 'nmom' corresponding to the sample L-moments. Note that for orders greater or equal than 3 it is the L-moments ratio that is sample L-CV, sample L-Sknewness, ...

Examples

x <- runif(50)
## Not run: samlmu(x, nmom = 5)

[Package RFA version 0.0-8 Index]