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

is.slaR Documentation

Is a Distribution Parameter Object Typed as Slash

Description

The distribution parameter object returned by functions of lmomco such as by parsla are typed by an attribute type. This function checks that type is sla for the Slash distribution.

Usage

is.sla(para)

Arguments

para

A parameter list returned from parsla or vec2par.

Value

TRUE

If the type attribute is sla.

FALSE

If the type is not sla.

Author(s)

W.H. Asquith

See Also

parsla

Examples

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

lmomco documentation built on May 29, 2024, 10:06 a.m.