Learn R Programming

lmomco (version 0.88)

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

Description

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

Usage

is.cau(para)

Arguments

para
A parameter list returned from parcau or vec2par.

Value

  • TRUEIf the type attribute is cau.
  • FALSEIf the type is not cau.

See Also

vec2par

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