gibbsC: A Gibbs sampler using Rcpp

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

A Gibbs sampler using Rcpp.

Usage

1
gibbsC(N, thin, a, b, n)

Arguments

N

the number of samples

thin

the number of between-sample random numbers

a

the parameter for gibbsc

b

the parameter for gibbsc

n

the parameter for gibbsc

Value

a random sample from gibbs mat

Examples

1
2
3
4
5
## Not run: 
    gc <- gibbsC(100, 10, 2, 4, 16)
    print(gc)

## End(Not run)

qf1999/StatComp21039 documentation built on Dec. 23, 2021, 11:11 p.m.