Is a Distribution Parameter Object Typed as Weibull

Description

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

Usage

1
is.wei(para)

Arguments

para

A parameter list returned from parwei or vec2par.

Value

TRUE

If the type attribute is wei.

FALSE

If the type is not wei.

Author(s)

W.H. Asquith

See Also

parwei

Examples

1
2
3
4
para <- parwei(lmoms(c(123,34,4,654,37,78)))
if(is.wei(para) == TRUE) {
  Q <- quawei(0.5,para)
}

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.