Learn R Programming

lmomco (version 0.88)

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

Description

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

Usage

is.gld(para)

Arguments

para
A parameter list returned from vec2par.

Value

  • TRUEIf the type attribute is gld.
  • FALSEIf the type is not gld.

See Also

cdfgld, quagld

Examples

Run this code
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