Skip to content

Commit

Permalink
Merge pull request #223 from HopkinsIDD/main_postprocess_update
Browse files Browse the repository at this point in the history
Main postprocess update
  • Loading branch information
saraloo committed Jul 15, 2024
2 parents 76c6985 + 098ad30 commit bf04025
Show file tree
Hide file tree
Showing 3 changed files with 701 additions and 347 deletions.
2 changes: 1 addition & 1 deletion postprocessing/plot_predictions.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ state_cw <- fips_us_county %>%
# GROUND TRUTH ------------------------------------------------------------

gt_data <- gt_data %>%
mutate(date = lubridate::as_date(date)) %>%
mutate(date = lubridate::as_date(date))
colnames(gt_data) <- gsub("incidI", "incidC", colnames(gt_data))
gt_outcomes <- outcomes_[outcomes_ != "I" & sapply(X = paste0("incid", outcomes_), FUN = function(x=X, y) any(grepl(pattern = x, x = y)), y = colnames(gt_data)) ]
outcomes_gt_ <- outcomes_[outcomes_ %in% gt_outcomes]
Expand Down
Loading

0 comments on commit bf04025

Please sign in to comment.