R/RcppExports.R

Defines functions cpp_prior_all cpp_prior_b cpp_prior_a cpp_prior_pi cpp_move_kappa cpp_move_swap_cases cpp_move_ancestors cpp_move_alpha cpp_move_t_inf cpp_move_pi cpp_move_b cpp_move_a cpp_ll_all cpp_ll_timing cpp_ll_reporting cpp_ll_age cpp_ll_space cpp_ll_timing_sampling cpp_ll_timing_infections cpp_swap_cases cpp_find_local_cases cpp_gen_tree cpp_find_all_tree cpp_find_all_descendents cpp_find_descendents cpp_log_like cpp_log_like_s cpp_are_possible_ancestors

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

cpp_are_possible_ancestors <- function(t_inf, alpha, genotype, gen_tree, cluster, i) {
    .Call(`_o2geosocial_cpp_are_possible_ancestors`, t_inf, alpha, genotype, gen_tree, cluster, i)
}

cpp_log_like_s <- function(population, distance, a, b, spatial) {
    .Call(`_o2geosocial_cpp_log_like_s`, population, distance, a, b, spatial)
}

cpp_log_like <- function(population, distance, ances, a, b, max_kappa, gamma, spatial, nb_cases) {
    .Call(`_o2geosocial_cpp_log_like`, population, distance, ances, a, b, max_kappa, gamma, spatial, nb_cases)
}

cpp_find_descendents <- function(alpha, cluster, i) {
    .Call(`_o2geosocial_cpp_find_descendents`, alpha, cluster, i)
}

cpp_find_all_descendents <- function(alpha, t_inf, cluster, i) {
    .Call(`_o2geosocial_cpp_find_all_descendents`, alpha, t_inf, cluster, i)
}

cpp_find_all_tree <- function(alpha, t_inf, cluster, i) {
    .Call(`_o2geosocial_cpp_find_all_tree`, alpha, t_inf, cluster, i)
}

cpp_gen_tree <- function(tree, cluster, genotype, i) {
    .Call(`_o2geosocial_cpp_gen_tree`, tree, cluster, genotype, i)
}

cpp_find_local_cases <- function(alpha, cluster, i) {
    .Call(`_o2geosocial_cpp_find_local_cases`, alpha, cluster, i)
}

cpp_swap_cases <- function(param, cluster, i) {
    .Call(`_o2geosocial_cpp_swap_cases`, param, cluster, i)
}

cpp_ll_timing_infections <- function(data, param, i = NULL, custom_function = NULL) {
    .Call(`_o2geosocial_cpp_ll_timing_infections`, data, param, i, custom_function)
}

cpp_ll_timing_sampling <- function(data, param, i = NULL, custom_function = NULL) {
    .Call(`_o2geosocial_cpp_ll_timing_sampling`, data, param, i, custom_function)
}

cpp_ll_space <- function(data, config, param, i = NULL, custom_function = NULL) {
    .Call(`_o2geosocial_cpp_ll_space`, data, config, param, i, custom_function)
}

cpp_ll_age <- function(data, param, i = NULL, custom_function = NULL) {
    .Call(`_o2geosocial_cpp_ll_age`, data, param, i, custom_function)
}

cpp_ll_reporting <- function(data, param, i = NULL, custom_function = NULL) {
    .Call(`_o2geosocial_cpp_ll_reporting`, data, param, i, custom_function)
}

cpp_ll_timing <- function(data, param, i = NULL, custom_functions = NULL) {
    .Call(`_o2geosocial_cpp_ll_timing`, data, param, i, custom_functions)
}

cpp_ll_all <- function(data, config, param, i = NULL, custom_functions = NULL) {
    .Call(`_o2geosocial_cpp_ll_all`, data, config, param, i, custom_functions)
}

cpp_move_a <- function(param, data, config, custom_ll = NULL, custom_prior = NULL) {
    .Call(`_o2geosocial_cpp_move_a`, param, data, config, custom_ll, custom_prior)
}

cpp_move_b <- function(param, data, config, custom_ll = NULL, custom_prior = NULL) {
    .Call(`_o2geosocial_cpp_move_b`, param, data, config, custom_ll, custom_prior)
}

cpp_move_pi <- function(param, data, config, custom_ll = NULL, custom_prior = NULL) {
    .Call(`_o2geosocial_cpp_move_pi`, param, data, config, custom_ll, custom_prior)
}

cpp_move_t_inf <- function(param, data, list_custom_ll = NULL) {
    .Call(`_o2geosocial_cpp_move_t_inf`, param, data, list_custom_ll)
}

cpp_move_alpha <- function(param, data, config, list_custom_ll = NULL) {
    .Call(`_o2geosocial_cpp_move_alpha`, param, data, config, list_custom_ll)
}

cpp_move_ancestors <- function(param, data, config, list_custom_ll = NULL) {
    .Call(`_o2geosocial_cpp_move_ancestors`, param, data, config, list_custom_ll)
}

cpp_move_swap_cases <- function(param, data, config, list_custom_ll = NULL) {
    .Call(`_o2geosocial_cpp_move_swap_cases`, param, data, config, list_custom_ll)
}

cpp_move_kappa <- function(param, data, config, list_custom_ll = NULL) {
    .Call(`_o2geosocial_cpp_move_kappa`, param, data, config, list_custom_ll)
}

cpp_prior_pi <- function(param, config, custom_function = NULL) {
    .Call(`_o2geosocial_cpp_prior_pi`, param, config, custom_function)
}

cpp_prior_a <- function(param, config, custom_function = NULL) {
    .Call(`_o2geosocial_cpp_prior_a`, param, config, custom_function)
}

cpp_prior_b <- function(param, config, custom_function = NULL) {
    .Call(`_o2geosocial_cpp_prior_b`, param, config, custom_function)
}

cpp_prior_all <- function(param, config, custom_functions = NULL) {
    .Call(`_o2geosocial_cpp_prior_all`, param, config, custom_functions)
}

# Register entry points for exported C++ functions
methods::setLoadAction(function(ns) {
    .Call('_o2geosocial_RcppExport_registerCCallable', PACKAGE = 'o2geosocial')
})

Try the o2geosocial package in your browser

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

o2geosocial documentation built on Sept. 11, 2021, 9:07 a.m.