Learn R Programming

lmomco (version 2.4.14)

is.pdq3: Is a Distribution Parameter Object Typed as Polynomial Density-Quantile3

Description

The distribution parameter object returned by functions of lmomco such as by parpdq3 are typed by an attribute type. This function checks that type is pdq3 for the Polynomial Density-Quantile3 distribution.

Usage

is.pdq3(para)

Value

TRUE

If the type attribute is pdq3.

FALSE

If the type is not pdq3.

Arguments

para

A parameter list returned from parpdq3 or vec2par.

Author

W.H. Asquith

See Also

parpdq3

Examples

Run this code
para <- parpdq3(lmoms(c(46, 70, 59, 36, 71, 48, 46, 63, 35, 52)))
if(is.pdq3(para) == TRUE) {
  Q <- quapdq3(0.5, para)
}

Run the code above in your browser using DataLab