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

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
is.lap(para)

Arguments

para

A parameter list returned from parlap or vec2par.

Value

TRUE

If the type attribute is lap.

FALSE

If the type is not lap.

Author(s)

W.H. Asquith

See Also

parlap

Examples

1
2
3
4
para <- parlap(lmoms(c(123,34,4,654,37,78)))
if(is.lap(para) == TRUE) {
  Q <- qualap(0.5,para)
}

lmomco documentation built on Nov. 17, 2017, 7:25 a.m.