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

is.govR Documentation

Is a Distribution Parameter Object Typed as Govindarajulu

Description

The distribution parameter object returned by functions of lmomco 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 or vec2par.

Value

TRUE

If the type attribute is gov.

FALSE

If the type is not gov.

Author(s)

W.H. Asquith

See Also

pargov

Examples

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

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