Learn R Programming

lmomco (version 0.88)

is.gam: Is a Distribution Parameter Object Typed as Gamma

Description

The distribution parameter object returned by functions of this module such as by pargam are typed by an attribute type. This function checks that type is gam for the Gamma distribution.

Usage

is.gam(para)

Arguments

para
A parameter list returned from pargam.

Value

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

See Also

pargam

Examples

Run this code
para <- pargam(lmom.ub(c(123,34,4,654,37,78)))
if(is.gam(para) == TRUE) {
  Q <- quagam(0.5,para)
}

Run the code above in your browser using DataLab