gibbs: gibbs sample by Rcpp

Description Usage Arguments Value Examples

Description

Generate the gibbs sample by Rcpp,using the method of gibbs sampling.

Usage

1

Arguments

N

the sample size

Value

a Numeric Matrix,sp stands for random sample of multivariate distribution.

Examples

1
2
3
4
## Not run: 
res <- gibbs_chain(N)

## End(Not run)

hehaowe/desktop-tutorial documentation built on Dec. 23, 2021, 11:15 p.m.