| rlaplace {npsm} | R Documentation | 
Random Laplace.
Description
Random generation for the Laplace (double exponential) data with location 0 and scale 1.
Usage
rlaplace(n)
Arguments
| n | scalar. number of random draws. | 
Details
A Laplace or double expoential distribution has heavier tails than a normal distribution and so a sample will tend to have additional outliers.
Value
A vector of length n is returned containing the random data.
Author(s)
John Kloke, Joseph McKean
References
Hogg, Robert V.; McKean, Joseph; and Craig, Allen T., "Introduction to Mathematical Statistics (6th Edition)" (2005).
Examples
x <- rlaplace(100)
qqnorm(x)
[Package npsm version 2.0.0 Index]