Description Usage Arguments Value Examples
A Metropolis sampler using Rcpp
1 | rw_MetropolisC(sigma, x0, N)
|
sigma |
the standard deviation of normal distribution |
x0 |
the first element of the sampler |
N |
the number of samples |
a random sample of size n
x |
random walk samples |
k |
rejections |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.