Learn R Programming

lmomco (version 2.4.14)

is.st3: Is a Distribution Parameter Object Typed as 3-Parameter Student t Distribution

Description

The distribution parameter object returned by functions of lmomco such as by parst3 are typed by an attribute type. This function checks that type is st3 for the 3-parameter Student t distribution.

Usage

is.st3(para)

Value

TRUE

If the type attribute is st3.

FALSE

If the type is not st3.

Arguments

para

A parameter list returned from parst3 or vec2par.

Author

W.H. Asquith

See Also

parst3

Examples

Run this code
para <- vec2par(c(3, 4, 5), type='st3')
if(is.st3(para)) {
  Q <- quast3(0.25,para)
}

Run the code above in your browser using DataLab