From 8f3c566624f090d78332aac1f9abf65f69ff8494 Mon Sep 17 00:00:00 2001 From: jamesmbaazam Date: Tue, 19 Nov 2024 11:06:30 +0000 Subject: [PATCH] Append the model descriptions to the plot data --- vignettes/benchmarks.Rmd.orig | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/vignettes/benchmarks.Rmd.orig b/vignettes/benchmarks.Rmd.orig index b1c92ebac..77f0fcb16 100644 --- a/vignettes/benchmarks.Rmd.orig +++ b/vignettes/benchmarks.Rmd.orig @@ -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)[ @@ -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)[