Learn R Programming

lmomco (version 2.3.1)

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

Description

The distribution parameter object returned by functions of lmomco 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 or vec2par.

Value

TRUE

If the type attribute is emu.

FALSE

If the type is not emu.

See Also

paremu

Examples

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