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 parst3 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)
}

wasquith/lmomco documentation built on Feb. 24, 2024, 1:31 a.m.