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

is.pdq3R Documentation

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)

Arguments

para

A parameter list returned from parpdq3 or vec2par.

Value

TRUE

If the type attribute is pdq3.

FALSE

If the type is not pdq3.

Author(s)

W.H. Asquith

See Also

parpdq3

Examples

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

lmomco documentation built on Aug. 30, 2023, 5:10 p.m.