Rayleigh | R Documentation |
Density, distribution function, quantile function, and random deviate generation for the Rayleigh distribution. The radius around the true mean in a bivariate uncorrelated normal random variable with equal variances, re-written in polar coordinates (radius and angle), follows a Rayleigh distribution.
dRayleigh(x, scale)
pRayleigh(q, scale, lower.tail = TRUE)
qRayleigh(p, scale, lower.tail = TRUE)
rRayleigh(n, scale)
x , q |
vector of quantiles. |
p |
vector of probabilities. |
n |
number of observations. If |
scale |
vector of Rayleigh scale parameters (common standard deviation of the underlying normal distribution of each 2D-coordinate). |
lower.tail |
logical. If |
The parameter scale
may be determined with getRayParam
.
See Maxwell
for the distribution of radial error around the true center of uncorrelated trivariate normal variables with equal variances. See Hoyt
for the distribution of radial error around the true center of correlated bivariate normal variables with unequal variances. See Rice
for the distribution of radial error around an offset center for uncorrelated bivariate normal variables with equal variances. See mvnEll
for the distribution of radial error around an offset center for correlated normal variables with unequal variances.
dRayleigh
gives the density, pRayleigh
gives the cumulative distribution function, qRayleigh
gives the quantile function, rRayleigh
generates random deviates.
The length of the result is determined by n
for rRayleigh
, and is the maximum of the lengths of the numerical parameters for the other functions.
In dRayleigh
, pRayleigh
and qRayleigh
, the numerical parameters are recycled to the length of the result. Only the first element of the logical parameters is used. In rRayleigh
, only the first element of scale
is used.
https://reference.wolfram.com/language/ref/RayleighDistribution.html
getRayParam
,
Maxwell
,
Rice
,
Hoyt
,
mvnEll
dRayleigh(1, scale=10)
pRayleigh(c(0.1, 0.5, 0.9), scale=10)
qRayleigh(0.5, scale=c(5, 10, 15))
rRayleigh(5, scale=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.