View source: R/lamp-laplace-distribution-method.R
rlaplace0 | R Documentation |
Implements some aspects of Laplace distribution (based on stats package) for stable random walk simulation.
rlaplace0(n, b = 1) dlaplace0(x, b = 1)
n |
numeric, number of observations. |
b |
numeric, the scale parameter, where the variance is 2*b^2. |
x |
numeric, vector of responses. |
numeric, standard convention is followed: d* returns the density, p* returns the distribution function, q* returns the quantile function, and r* generates random deviates.
Stephen H-T. Lihn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.