Learn R Programming

lmomco (version 2.0.1)

is.gov: Is a Distribution Parameter Object Typed as Govindarajulu

Description

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

Usage

is.gov(para)

Arguments

para
A parameter list returned from pargov.

Value

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

See Also

pargov

Examples

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

Run the code above in your browser using DataLab