Learn R Programming

lmomco (version 0.88)

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

Description

The distribution parameter object returned by functions of this module 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.

Value

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

See Also

pargum

Examples

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

Run the code above in your browser using DataLab