Learn R Programming

lmomco (version 2.4.14)

is.cau: Is a Distribution Parameter Object Typed as Cauchy

Description

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

Usage

is.cau(para)

Value

TRUE

If the type attribute is cau.

FALSE

If the type is not cau.

Arguments

para

A parameter list returned from parcau or vec2par.

Author

W.H. Asquith

See Also

parcau

Examples

Run this code
para <- vec2par(c(12,12),type='cau')
if(is.cau(para) == TRUE) {
  Q <- quacau(0.5,para)
}

Run the code above in your browser using DataLab