Learn R Programming

lmomco (version 0.88)

is.wei: Is a Distribution Parameter Object Typed as Weibull

Description

The distribution parameter object returned by functions of this module such as by parwei are typed by an attribute type. This function checks that type is wei for the Weibull distribution.

Usage

is.wei(para)

Arguments

para
A parameter list returned from parwei.

Value

  • TRUEIf the type attribute is wei.
  • FALSEIf the type is not wei.

See Also

parwei

Examples

Run this code
para <- parwei(lmom.ub(c(123,34,4,654,37,78)))
if(is.wei(para) == TRUE) {
  Q <- quawei(0.5,para)
}

Run the code above in your browser using DataLab