Learn R Programming

lmomco (version 0.88)

is.kap: Is a Distribution Parameter Object Typed as Kappa

Description

The distribution parameter object returned by functions of this module such as by parkap are typed by an attribute type. This function checks that type is kap for the Kappa distribution.

Usage

is.kap(para)

Arguments

para
A parameter list returned from parkap.

Value

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

See Also

parkap

Examples

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

Run the code above in your browser using DataLab