is.gpa: Is a Distribution Parameter Object Typed as Generalized...

Description Usage Arguments Value Author(s) See Also Examples

Description

The distribution parameter object returned by functions of lmomco such as by pargpa are typed by an attribute type. This function checks that type is gpa for the Generalized Pareto distribution.

Usage

1
is.gpa(para)

Arguments

para

A parameter list returned from pargpa or vec2par.

Value

TRUE

If the type attribute is gpa.

FALSE

If the type is not gpa.

Author(s)

W.H. Asquith

See Also

pargpa

Examples

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

lmomco documentation built on May 29, 2017, 6:34 p.m.

Search within the lmomco package
Search all R packages, documentation and source code