Description Usage Arguments Value Examples
Draws Laplace samples and formats them into a matrix, where each row contains a sample.
1 | laplace.samps(mu = 0, sigma = 1, n = 25, nsamps = 10000)
|
mu |
The expectation of the Laplace distribution from which to draw samples. |
sigma |
The standard deviation of the Laplace distribution from which to draw samples. |
n |
The number of independent observations to include in each sample. |
nsamps |
The number of samples to generate. |
A matrix of independent Laplace-distributed random numbers with nsamps rows and n columns.
1 | laplace.samps(10, 1, 5, 8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.