is.rice: Is a Distribution Parameter Object Typed as Rice

is.riceR Documentation

Is a Distribution Parameter Object Typed as Rice

Description

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

Usage

is.rice(para)

Arguments

para

A parameter list returned from parrice or vec2par.

Value

TRUE

If the type attribute is rice.

FALSE

If the type is not rice.

Author(s)

W.H. Asquith

See Also

parrice

Examples

para <- vec2par(c(3, 4),type='rice')
if(is.rice(para)) {
  Q <- quarice(0.5,para)
}

wasquith/lmomco documentation built on Nov. 13, 2024, 4:53 p.m.