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.
is.ray(para)
If the type
attribute is ray
.
If the type
is not ray
.
A parameter list
returned from parray
or vec2par
.
W.H. Asquith
parray
para <- vec2par(c(.9252, .1636, .7),type='ray')
if(is.ray(para)) {
Q <- quaray(0.5,para)
}
Run the code above in your browser using DataLab