Description Usage Arguments Value Examples
View source: R/rw.Metropolis.R
Sampling from laplace distribution
1 | rw.Metropolis(sigma, x0, N)
|
sigma |
scaling parameter for increment |
x0 |
initial value |
N |
sample size |
a list containing sample and number of rejections
1 2 3 4 | ## Not run:
rw.Metropolis(1,0,100)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.