Skip to content

Commit

Permalink
Append the model descriptions to the plot data
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmbaazam committed Dec 11, 2024
1 parent db4bf80 commit 8f3c566
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions vignettes/benchmarks.Rmd.orig
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,12 @@ rt_crps_full <- merge.data.table(
by = "model"
)

# Add model descriptions
rt_crps_full <- merge.data.table(
rt_crps_full,
model_descriptions,
by = "model"
)
# Replace the snapshot dates with their description
# Replace snapshot_date based on the dictionary
rt_crps_full[, epidemic_phase := names(snapshot_date_names)[
Expand Down Expand Up @@ -661,6 +667,13 @@ infections_crps_full <- merge.data.table(
by = "model"
)

# Add model descriptions
infections_crps_full <- merge.data.table(
infections_crps_full,
model_descriptions,
by = "model"
)

# Replace the snapshot dates with their description
# Replace snapshot_date based on the dictionary
infections_crps_full[,epidemic_phase := names(snapshot_date_names)[
Expand Down

0 comments on commit 8f3c566

Please sign in to comment.