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

is.revgumR Documentation

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)

Arguments

para

A parameter list returned from parrevgum or vec2par.

Value

TRUE

If the type attribute is revgum.

FALSE

If the type is not revgum.

Author(s)

W.H. Asquith

See Also

parrevgum

Examples

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

lmomco documentation built on Aug. 30, 2023, 5:10 p.m.