Learn R Programming

lmomco (version 2.4.14)

is.sla: Is a Distribution Parameter Object Typed as Slash

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 sla for the Slash distribution.

Usage

is.sla(para)

Value

TRUE

If the type attribute is sla.

FALSE

If the type is not sla.

Arguments

para

A parameter list returned from parsla or vec2par.

Author

W.H. Asquith

See Also

parsla

Examples

Run this code
para <- vec2par(c(12,1.2), type='sla')
if(is.sla(para) == TRUE) {
  Q <- quasla(0.5,para)
}

Run the code above in your browser using DataLab