Skip to content

Commit

Permalink
Trying to export new likelihood function
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshay218 committed Jan 25, 2024
1 parent 18fdec2 commit 2ed0912
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions R/RcppExports.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ pred_age_since_inf_symptomatic <- function(max_incu_period, max_sampling_delay,
.Call('_virosolver_pred_age_since_inf_symptomatic', PACKAGE = 'virosolver', max_incu_period, max_sampling_delay, obs_time, pars, prob_infection, sd_mod_vec)
}

#' @export
likelihood_kinetics_model <- function(obs, ages, pars, test_ages, sd_mod_vec) {
.Call('_virosolver_likelihood_kinetics_model', PACKAGE = 'virosolver', obs, ages, pars, test_ages, sd_mod_vec)
}
Expand Down
2 changes: 1 addition & 1 deletion src/likelihoods_cpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ NumericVector pred_age_since_inf_symptomatic(int max_incu_period,




//' @export
// [[Rcpp::export]]
NumericVector likelihood_kinetics_model(NumericVector obs,
NumericVector ages,
Expand Down

0 comments on commit 2ed0912

Please sign in to comment.