parray
are typed by an attribute type
.
This function checks that type
is ray
for the Rayleigh distribution.is.ray(para)
list
returned from parray
.type
attribute is ray
.type
is not ray
.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