R/RcppExports.R

Defines functions rw_Metropolis

Documented in rw_Metropolis

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

#' @name rw_Metropolis
#' @title A Metropolis sampler using Rcpp
#' @description A Metropolis sampler using Rcpp
#' @param N the number of samples
#' @param x0 the number of between-sample random number
#' @param sigma variance
#' @return a List with a random sample of size \code{n} and k
#' @examples
#' \dontrun{
#' sigma <- 2
#' x0 <- 25
#' N <- 2000
#' res <- rw_Metropolis(sigma, x0, N)
#' }
#' @useDynLib SC19086, .registration = TRUE
#' @exportPattern "^[[:alpha:]]+"
#' @importFrom Rcpp evalCpp
#' @export
rw_Metropolis <- function(sigma, x0, N) {
    .Call(`_SC19086_rw_Metropolis`, sigma, x0, N)
}
DawnGnius/SC19086 documentation built on Jan. 3, 2020, 2:10 a.m.