R/RcppExports.R

Defines functions sample_hyper narrow_hyper extend_hyper log_posterior_hyper log_ml_dummy log_ml log_mvgamma log_prior_hyper log_dinvgamma log_dgamma niw_cpp riwish_cpp rmatnorm_cpp

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

rmatnorm_cpp <- function(M, U, V) {
    .Call(`_bsvarSIGNs_rmatnorm_cpp`, M, U, V)
}

riwish_cpp <- function(S, nu) {
    .Call(`_bsvarSIGNs_riwish_cpp`, S, nu)
}

niw_cpp <- function(Y, X, prior_B, prior_V, prior_S, prior_nu) {
    .Call(`_bsvarSIGNs_niw_cpp`, Y, X, prior_B, prior_V, prior_S, prior_nu)
}

log_dgamma <- function(x, k, theta) {
    .Call(`_bsvarSIGNs_log_dgamma`, x, k, theta)
}

log_dinvgamma <- function(x, alpha, beta) {
    .Call(`_bsvarSIGNs_log_dinvgamma`, x, alpha, beta)
}

log_prior_hyper <- function(hyper, model, prior) {
    .Call(`_bsvarSIGNs_log_prior_hyper`, hyper, model, prior)
}

log_mvgamma <- function(n, x) {
    .Call(`_bsvarSIGNs_log_mvgamma`, n, x)
}

log_ml <- function(b, Omega, Psi, d, Y, X) {
    .Call(`_bsvarSIGNs_log_ml`, b, Omega, Psi, d, Y, X)
}

log_ml_dummy <- function(hyper, model, Y, X, prior) {
    .Call(`_bsvarSIGNs_log_ml_dummy`, hyper, model, Y, X, prior)
}

log_posterior_hyper <- function(hyper, model, Y, X, prior) {
    .Call(`_bsvarSIGNs_log_posterior_hyper`, hyper, model, Y, X, prior)
}

extend_hyper <- function(init, model, hypers) {
    .Call(`_bsvarSIGNs_extend_hyper`, init, model, hypers)
}

narrow_hyper <- function(model, hypers) {
    .Call(`_bsvarSIGNs_narrow_hyper`, model, hypers)
}

sample_hyper <- function(S, start, init, model, Y, X, W, prior) {
    .Call(`_bsvarSIGNs_sample_hyper`, S, start, init, model, Y, X, W, prior)
}

# Register entry points for exported C++ functions
methods::setLoadAction(function(ns) {
    .Call(`_bsvarSIGNs_RcppExport_registerCCallable`)
})

Try the bsvarSIGNs package in your browser

Any scripts or data that you put into this service are public.

bsvarSIGNs documentation built on April 4, 2025, 12:30 a.m.