R/RcppExports.R

Defines functions gibbs_cpp

Documented in gibbs_cpp

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#' @title A Gibbs sampler using Rcpp
#' @description A Gibbs sampler using Rcpp
#' @param N the number of samples
#' @return a random sample of size \code{n}
#' @examples
#' \dontrun{
#' rnC <- gibbs_cpp(100)
#' rnC
#' }
#' @export
gibbs_cpp <- function(N) {
    .Call('_StatComp21031_gibbs_cpp', PACKAGE = 'StatComp21031', N)
}
wsy0317/StatComp21031 documentation built on Dec. 24, 2021, 1:28 a.m.