Learn R Programming

lmomco (version 2.4.14)

is.kmu: 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)

Value

TRUE

If the type attribute is kmu.

FALSE

If the type is not kmu.

Arguments

para

A parameter list returned from parkmu or vec2par.

Author

W.H. Asquith

See Also

parkmu

Examples

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

Run the code above in your browser using DataLab