rpearson7 {pearson7} | R Documentation |
Generate random deviates from a Pearson VII distribution with shape parameter 3/2.
Description
Generate random deviates from a Pearson VII distribution with shape parameter 3/2.
Usage
rpearson7(n, mu = 0, sigma = 1)
Arguments
n |
number of observations. |
mu |
vector of means. |
sigma |
vector of scales. |
Details
If mu
is not specified, it assumes the default value of 0. If sigma
is not specified, it assumes the default value of 1.
Value
random deviates.
References
Hughes, J., Shastry, S., Hancock, W. O., and Fricks, J. (2013) Estimating velocity for processive motor proteins with random detachment. Journal of Agricultural, Biological, and Environmental Statistics, in press.
Devroye, L. (1986) Non-Uniform Random Variate Generation. New York: Springer-Verlag.
See Also
dpearson7
, ppearson7
, qpearson7
Examples
y = rpearson7(1000)
hist(y, prob = TRUE, breaks = 100, col = "gray")
curve(dpearson7(x), lwd = 2, col = "blue", add = TRUE)
[Package pearson7 version 1.0-3 Index]