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

is.kapR Documentation

Is a Distribution Parameter Object Typed as Kappa

Description

The distribution parameter object returned by functions of lmomco 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 or vec2par.

Value

TRUE

If the type attribute is kap.

FALSE

If the type is not kap.

Author(s)

W.H. Asquith

See Also

parkap

Examples

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

wasquith/lmomco documentation built on Nov. 13, 2024, 4:53 p.m.