Learn R Programming

lmomco (version 2.0.1)

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

Description

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

Arguments

para
A parameter list returned from parst3.

Value

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

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