rwMetropolisC: random walk Metropolis sampler using Rcpp

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

Use three inputs to generate random walk metropolis samples with the proposal distribution of normal distribution

Usage

1

Arguments

sigma

the first predictor (numeirc)

a

the second predictor (numeric)

N

the third predictor (numeric)

Value

a random sample of size N

Examples

1
2
3
4
## Not run: 
rw <- rwMetropolisC(2,25,1000)

## End(Not run)

SC19020/SC19020 documentation built on Jan. 3, 2020, 12:09 a.m.