Learn R Programming

lmomco (version 1.7.3)

is.texp: Is a Distribution Parameter Object Typed as Truncated Exponential

Description

The distribution parameter object returned by functions of this module 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
A parameter list returned from partexp.

Value

  • TRUEIf the type attribute is texp.
  • FALSEIf the type is not texp.

See Also

partexp

Examples

Run this code
para <- parexp(lmom.ub(c(123,34,4,654,37,78)))
if(is.exp(para) == TRUE) {
  Q <- quaexp(0.5,para)
}

Run the code above in your browser using DataLab