Learn R Programming

lmomco (version 2.3.1)

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)

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.

See Also

parkmu

Examples

Run this code
# NOT RUN {
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