Description Usage Arguments Value Examples
A Metropolis sampler using Rcpp
1 | rw_Metropolis(sigma, x0, N)
|
sigma |
variance |
x0 |
the number of between-sample random number |
N |
the number of samples |
a List with a random sample of size n
and k
1 2 3 4 5 6 7 | ## Not run:
sigma <- 2
x0 <- 25
N <- 2000
res <- rw_Metropolis(sigma, x0, N)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.