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

is.pdq4R Documentation

Is a Distribution Parameter Object Typed as Polynomial Density-Quantile4

Description

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

Usage

is.pdq4(para)

Arguments

para

A parameter list returned from parpdq4 or vec2par.

Value

TRUE

If the type attribute is pdq4.

FALSE

If the type is not pdq4.

Author(s)

W.H. Asquith

See Also

parpdq4

Examples

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

lmomco documentation built on May 29, 2024, 10:06 a.m.