rpearson7: Generate random deviates from a Pearson VII distribution with...

Description Usage Arguments Details Value References See Also Examples

View source: R/pearson7.R

Description

Generate random deviates from a Pearson VII distribution with shape parameter 3/2.

Usage

1
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

1
2
3
y = rpearson7(1000)
hist(y, prob = TRUE, breaks = 100, col = "gray")
curve(dpearson7(x), lwd = 2, col = "blue", add = TRUE)

pearson7 documentation built on July 2, 2020, 3:59 a.m.

Related to rpearson7 in pearson7...