is.kmu: Is a Distribution Parameter Object Typed as Kappa-Mu

is.kmuR Documentation

Is a Distribution Parameter Object Typed as Kappa-Mu

Description

The distribution parameter object returned by functions of lmomco such as by parkmu are typed by an attribute type. This function checks that type is kmu for the Kappa-Mu (\kappa:\mu) distribution.

Usage

is.kmu(para)

Arguments

para

A parameter list returned from parkmu or vec2par.

Value

TRUE

If the type attribute is kmu.

FALSE

If the type is not kmu.

Author(s)

W.H. Asquith

See Also

parkmu

Examples

para <- vec2par(c(3.1, 1.4), type='kmu')
if(is.kmu(para)) {
  Q <- quakmu(0.5,para)
}

lmomco documentation built on Aug. 30, 2023, 5:10 p.m.