is.gam {lmomco} | R Documentation

## Is a Distribution Parameter Object Typed as Gamma

### Description

The distribution parameter object returned by functions of this module such as by `pargam` are typed by an attribute `type`. This function checks that `type` is `gam` for the Gamma distribution.

### Usage

    is.gam(para)

### Arguments

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

### Value

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

### Author(s)

W.H. Asquith

### See Also

`pargam`

### Examples

    para <- pargam(lmom.ub(c(123,34,4,654,37,78)))
    if(is.gam(para) == TRUE) {
      Q <- quagam(0.5,para)
    }

[Package lmomco version 0.92 Index]