is.wak: Is a Distribution Parameter Object Typed as Wakeby

is.wakR Documentation

Is a Distribution Parameter Object Typed as Wakeby

Description

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

Usage

is.wak(para)

Arguments

para

A parameter list returned from parwak or vec2par.

Value

TRUE

If the type attribute is wak.

FALSE

If the type is not wak.

Author(s)

W.H. Asquith

See Also

parwak

Examples

para <- parwak(lmoms(c(123,34,4,654,37,78)))
if(is.wak(para) == TRUE) {
  Q <- quawak(0.5,para)
}

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