Learn R Programming

lmomco (version 2.4.14)

is.gld: Is a Distribution Parameter Object Typed as Generalized Lambda

Description

The distribution parameter object returned by functions of lmomco such as by pargld are typed by an attribute type. This function checks that type is gld for the Generalized Lambda distribution.

Usage

is.gld(para)

Value

TRUE

If the type attribute is gld.

FALSE

If the type is not gld.

Arguments

para

A parameter list returned from pargld or vec2par.

Author

W.H. Asquith

See Also

pargld

Examples

Run this code
if (FALSE) {
para <- vec2par(c(123,120,3,2),type="gld")
if(is.gld(para) == TRUE) {
  Q <- quagld(0.5,para)
}
}

Run the code above in your browser using DataLab