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

is.lmrqR Documentation

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.

Author(s)

W.H. Asquith

See Also

parlmrq

Examples

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)
}

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