| is.texp | R Documentation |
The distribution parameter object returned by functions of lmomco such as by partexp are typed by an attribute type. This function checks that type is texp for the Truncated Exponential distribution.
is.texp(para)
para |
A parameter |
TRUE |
If the |
FALSE |
If the |
W.H. Asquith
partexp
yy <- vec2par(c(123, 2.3, TRUE), type="texp")
zz <- vec2par(c(123, 2.3, FALSE), type="texp")
if(is.texp(yy) & is.texp(zz)) {
print(lmomtexp(yy)$lambdas)
print(lmomtexp(zz)$lambdas)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.