Learn R Programming

lmomco (version 2.4.14)

is.lmrq: Is a Distribution Parameter Object Typed as Linear Mean Residual Quantile Function

Description

The distribution parameter object returned by functions of lmomco such as by parlmrq are typed by an attribute type. This function checks that type is lmrq for the Linear Mean Residual Quantile Function distribution.

Usage

is.lmrq(para)

Value

TRUE

If the type attribute is lmrq.

FALSE

If the type is not lmrq.

Arguments

para

A parameter list returned from parlmrq or vec2par.

Author

W.H. Asquith

See Also

parlmrq

Examples

Run this code
para <- parlmrq(lmoms(c(3, 0.05, 1.6, 1.37, 0.57, 0.36, 2.2)))
if(is.lmrq(para) == TRUE) {
  Q <- qualmrq(0.5,para)
}

Run the code above in your browser using DataLab