is.sla {lmomco}R 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)
}

[Package lmomco version 2.5.1 Index]