
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.
is.wei(para)
If the type
attribute is wei
.
If the type
is not wei
.
# NOT RUN {
para <- parwei(lmoms(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