Learn R Programming

lmomco (version 1.7.3)

is.lap: Is a Distribution Parameter Object Typed as Laplace

Description

The distribution parameter object returned by functions of this module such as by parlap are typed by an attribute type. This function checks that type is lap for the Laplace distribution.

Usage

is.lap(para)

Arguments

para
A parameter list returned from parlap.

Value

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

See Also

parlap

Examples

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

Run the code above in your browser using DataLab