View source: R/laplace_functions.R
rlaplace | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.