is.gld {lmomco} | R Documentation

## Is a Distribution Parameter Object Typed as Generalized Lambda

### 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 `gld` for the Generalized Lambda distribution.

### Usage

    is.gld(para)

### Arguments

`para` | A parameter `list` returned from `vec2par`.

### Value

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

### Author(s)

W.H. Asquith

### See Also

`cdfgld`, `quagld`

### Examples

    para <- vec2par(c(123,120,3,2),type="gld")
    if(is.gld(para) == TRUE) {
      Q <- quagld(0.5,para)
    }

[Package lmomco version 0.92 Index]