is.tri {lmomco} | R Documentation |
The distribution parameter object returned by functions of lmomco such as by partri
are typed by an attribute type
. This function checks that type
is tri
for the Asymmetric Triangular distribution.
is.tri(para)
para |
TRUE |
If the |
FALSE |
If the |
W.H. Asquith
para <- partri(lmoms(c(46, 70, 59, 36, 71, 48, 46, 63, 35, 52)))
if(is.tri(para) == TRUE) {
Q <- quatri(0.5,para)
}