Description Usage Arguments Details Value Author(s) Examples
Density, cumulative distribution function, quantile function and random generation for the laplace distribution.
1 2 3 4 |
x,q |
( |
p |
( |
n |
( |
mu |
( |
b |
( |
log, log.p |
( |
lower.tail |
( |
The laplace distribution with shape parameter μ>0 and scale parameter b>0 has density
f(x) = \frac{1}{2b}\exp(-\frac{|x-μ|}{b}), \quad x \in R.
dlaplace gives the density, plaplace gives the distribution function, qlaplace gives the quantile function, and rlaplace generates random deviates.
The length of the result is determined by n for rnorm, and is the maximum of the lengths of the numerical arguments for the other functions.
J. Lequesne justine.lequesne@unicaen.fr
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.