rlaplace {diagL1} | R Documentation |
Function to generate random values from the Laplace distribution
rlaplace(n, location = 0, scale = 1)
n |
Number of values to generate. |
location |
Location parameter of the Laplace distribution (default = 0). |
scale |
Scale parameter of the Laplace distribution (default = 1). |
Vector of generated random values.
rlaplace(10, 0, 1)