Learn R Programming

lmomco (version 2.4.14)

is.revgum: Is a Distribution Parameter Object Typed as Reverse Gumbel

Description

The distribution parameter object returned by functions of lmomco such as by parrevgum are typed by an attribute type. This function checks that type is revgum for the Reverse Gumbel distribution.

Usage

is.revgum(para)

Value

TRUE

If the type attribute is revgum.

FALSE

If the type is not revgum.

Arguments

para

A parameter list returned from parrevgum or vec2par.

Author

W.H. Asquith

See Also

parrevgum

Examples

Run this code
para <- vec2par(c(.9252, .1636, .7),type='revgum')
if(is.revgum(para)) {
  Q <- quarevgum(0.5,para)
}

Run the code above in your browser using DataLab