Learn R Programming

fBasics (version 4041.97)

sampleLMoments: Sample L-moments

Description

Computes L-moments from an empirical sample data set.

Usage

sampleLmoments(x, rmax = 4)

Value

a named numeric vector of length rmax with names

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

Arguments

x

numeric vector, the sample values.

rmax

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

Author

Diethelm Wuertz

Examples

Run this code
x <- rt(100, 4)
   
sampleLmoments(x)

Run the code above in your browser using DataLab