is.tri | 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 |
A parameter |
TRUE |
If the |
FALSE |
If the |
W.H. Asquith
partri
para <- partri(lmoms(c(46, 70, 59, 36, 71, 48, 46, 63, 35, 52)))
if(is.tri(para) == TRUE) {
Q <- quatri(0.5,para)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.