Skip to contents

Computes L-moments from an empirical sample data set.

Usage

sampleLmoments(x, rmax = 4)

Arguments

x

numeric vector, the sample values.

rmax

an integer value, the number of L-moments to be returned.

Value

a named numeric vector of length rmax with names

c("L1", "L2", ..., "L<rmax>")

Author

Diethelm Wuertz

Examples

## Sample:
   x = rt(100, 4)
   
## sampleLmoments -
   sampleLmoments(x)
#>          L1          L2          L3          L4 
#> 0.141501641 0.746736414 0.001826407 0.155024769