is.ray: Is a Distribution Parameter Object Typed as Rayleigh

is.rayR Documentation

Is a Distribution Parameter Object Typed as Rayleigh

Description

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

Usage

is.ray(para)

Arguments

para

A parameter list returned from parray or vec2par.

Value

TRUE

If the type attribute is ray.

FALSE

If the type is not ray.

Author(s)

W.H. Asquith

See Also

parray

Examples

para <- vec2par(c(.9252, .1636, .7),type='ray')
if(is.ray(para)) {
  Q <- quaray(0.5,para)
}

lmomco documentation built on May 29, 2024, 10:06 a.m.