Learn R Programming

lmomco (version 2.3.1)

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)

Arguments

para

A parameter list returned from parlmrq or vec2par.

Value

TRUE

If the type attribute is lmrq.

FALSE

If the type is not lmrq.

See Also

parlmrq

Examples

Run this code
# NOT RUN {
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