is.texp {lmomco} | R Documentation |
Is a Distribution Parameter Object Typed as Truncated Exponential
Description
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.
Usage
is.texp(para)
Arguments
para |
Value
TRUE |
If the |
FALSE |
If the |
Author(s)
W.H. Asquith
See Also
Examples
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)
}
[Package lmomco version 2.5.1 Index]