Learn R Programming

lmomco (version 1.7.3)

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

Description

The distribution parameter object returned by functions of this module 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.

Value

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

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