Learn R Programming

lmomco (version 1.7.3)

is.kur: Is a Distribution Parameter Object Typed as Kumaraswamy

Description

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

Usage

is.kur(para)

Arguments

para
A parameter list returned from parkur.

Value

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

See Also

parkur

Examples

Run this code
para <- parkur(lmom.ub(c(0.25, 0.4, 0.6, 0.65, 0.67, 0.9)))
if(is.kur(para) == TRUE) {
  Q <- quakur(0.5,para)
}

Run the code above in your browser using DataLab