Description Usage Arguments Details Value Author(s) Examples
density and random generation for the Laplace distribution of mean 'mu'
and scale
parameter 'b'
1 2 |
x |
vector of quantiles. |
n |
number of observations. |
mu |
mean. Should be a single value. Defaults to 0. |
b |
scale. Should be a single value. Defaults to 1. |
The Laplace density function is parameterized as:
exp(-|x-mu|/b)/(2b)
Returns a vector of n
draws from a Laplace distribution
Julien Stirnemann <j.stirnemann@gmail.com>
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.