Learn R Programming

lmomco (version 0.88)

is.gev: Is a Distribution Parameter Object Typed as Generalized Extreme Value

Description

The distribution parameter object returned by functions of this module such as by pargev are typed by an attribute type. This function checks that type is gev for the Generalized Extreme Value distribution.

Usage

is.gev(para)

Arguments

para
A parameter list returned from pargev.

Value

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

See Also

pargev

Examples

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

Run the code above in your browser using DataLab