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

is.gldR Documentation

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)

Arguments

para

A parameter list returned from pargld or vec2par.

Value

TRUE

If the type attribute is gld.

FALSE

If the type is not gld.

Author(s)

W.H. Asquith

See Also

pargld

Examples

## Not run: 
para <- vec2par(c(123,120,3,2),type="gld")
if(is.gld(para) == TRUE) {
  Q <- quagld(0.5,para)
}

## End(Not run)

wasquith/lmomco documentation built on Nov. 13, 2024, 4:53 p.m.