Skip to content

Commit

Permalink
Adding browser to look for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshay218 committed Jun 28, 2024
1 parent 5018dab commit 710178c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/plot_antibody_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ plot_model_fits <- function(chain, infection_histories,
inf_hist_densities <- antibody_preds$histories
inf_hist_densities$xmin <- inf_hist_densities$variable-0.5
inf_hist_densities$xmax <- inf_hist_densities$variable+0.5
browser()
## Subset infection history densities to not plot infections before sample time
inf_hist_densities <- inf_hist_densities %>%
left_join(model_preds[model_preds$individual %in% individuals,c("individual","sample_time")] %>% dplyr::distinct(),by="individual",relationship="many-to-many") %>%
Expand Down

0 comments on commit 710178c

Please sign in to comment.