is.gum: Is a Distribution Parameter Object Typed as Gumbel

is.gumR Documentation

Is a Distribution Parameter Object Typed as Gumbel

Description

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

Usage

is.gum(para)

Arguments

para

A parameter list returned from pargum or vec2par.

Value

TRUE

If the type attribute is gum.

FALSE

If the type is not gum.

Author(s)

W.H. Asquith

See Also

pargum

Examples

para <- pargum(lmoms(c(123,34,4,654,37,78)))
if(is.gum(para) == TRUE) {
  Q <- quagum(0.5,para)
}

wasquith/lmomco documentation built on Feb. 24, 2024, 1:31 a.m.