Skip to content

Commit

Permalink
Fixed issues in exposure timings
Browse files Browse the repository at this point in the history
  • Loading branch information
dchodge committed Oct 24, 2024
1 parent 03579f7 commit 34094e1
Show file tree
Hide file tree
Showing 58 changed files with 88 additions and 480 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
outputs/fits/*

vignettes/int/*
# Except for the simulate_data directory
!outputs/fits/simulated_data/

Expand Down
Binary file removed R/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions R/postprocess.R
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ plot_inf_rec <- function(model_summary, file_path) {
ggsave(here::here(file_path, "infection_recov.png"), height = 10, width = 10)
}


plot_cop_rec <- function(model_summary, file_path) {

fitfull <- model_summary$fit
Expand Down
6 changes: 4 additions & 2 deletions R/utils_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,10 @@ createSeroJumpModel <- function(
sample(1:length(exp_prior_list[[i]]), 1, prob = exp_prior_list[[i]])
}

check_exposures_times(data_sero, data_known, exposureTypes, exposureFitted, exposurePriorTime, exposurePriorTimeType)

if (!is.null(data_known)) {
check_exposures_times(data_sero, data_known, exposureTypes, exposureFitted, exposurePriorTime, exposurePriorTimeType)
}

data_t$exp_list <- exp_prior_list
data_t$exp_prior <- exp_prior

Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/cs1_sim_recovery.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/articles/data_format.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions docs/articles/model_define.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 34094e1

Please sign in to comment.