is.cau {lmomco} | R Documentation

## 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

`TRUE` | If the `type` attribute is `cau`.
`FALSE` | If the `type` is not `cau`.

### Author(s)

W.H. Asquith

### See Also

`vec2par`

### Examples

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

[Package lmomco version 0.92 Index]