Learn R Programming

lmomco (version 2.4.14)

lcomoms2: The Sample L-comoments for Two Variables

Description

Compute the sample L-moments for the R two variable data.frame. The “2” in the function name is to refer to fact that this function operates on only two variables. The length of the variables must be greater than the number of L-comoments requested.

Usage

lcomoms2(DATAFRAME, nmom=3, asdiag=FALSE, opdiag=FALSE, ...)

Value

An R

list is returned of the first

L1

Matrix or diagonals of first L-comoment.

L2

Matrix or diagonals of second L-comoment.

T2

Matrix or diagonals of L-comoment correlation.

T3

Matrix or diagonals of L-comoment skew.

T4

Matrix or diagonals of L-comoment kurtosis.

T5

Matrix or diagonals of L-comoment Tau5.

source

An attribute identifying the computational source of the L-comoments: “lcomoms2”.

Arguments

DATAFRAME

An R data.frame housing column vectors of data values.

nmom

The number of L-comoments to compute. Default is 3.

asdiag

Return the diagonal of the matrices. Default is FALSE.

opdiag

Return the opposing diagonal of the matrices. Default is FALSE. This function returns the opposing diagonal from first two to second.

...

Additional arguments to pass.

Author

W.H. Asquith

References

Asquith, W.H., 2011, Distributional analysis with L-moment statistics using the R environment for statistical computing: Createspace Independent Publishing Platform, ISBN 978--146350841--8.

See Also

Lcomoment.matrix and Lcomoment.coefficients