Learn R Programming

lmomco (version 2.4.14)

is.nor: Is a Distribution Parameter Object Typed as Normal

Description

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

Usage

is.nor(para)

Value

TRUE

If the type attribute is nor.

FALSE

If the type is not nor.

Arguments

para

A parameter list returned from parnor or vec2par.

Author

W.H. Asquith

See Also

parnor

Examples

Run this code
para <- parnor(lmoms(c(123,34,4,654,37,78)))
if(is.nor(para) == TRUE) {
  Q <- quanor(0.5,para)
}

Run the code above in your browser using DataLab