Learn R Programming

lmomco (version 1.7.3)

is.emu: Is a Distribution Parameter Object Typed as Eta-Mu

Description

The distribution parameter object returned by functions of this module such as by paremu are typed by an attribute type. This function checks that type is emu for the Eta-Mu ($\eta:\mu$) distribution.

Usage

is.emu(para)

Arguments

para
A parameter list returned from paremu.

Value

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

See Also

paremu

Examples

Run this code
para <- vec2par(c(0.25, 1.4), type='emu')
if(is.emu(para)) {
  Q <- quaemu(0.5,para)
}

Run the code above in your browser using DataLab