Learn R Programming

lmomco (version 2.4.14)

is.rice: 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)

Value

TRUE

If the type attribute is rice.

FALSE

If the type is not rice.

Arguments

para

A parameter list returned from parrice or vec2par.

Author

W.H. Asquith

See Also

parrice

Examples

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

Run the code above in your browser using DataLab