You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: episodes/modelling-interventions.Rmd
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -445,7 +445,7 @@ At `epidemics::new_infections()` specify `compartments_from_susceptible = "vacci
445
445
::::::::::::::::::::: spoiler
446
446
447
447
Notice that if we use `by_group = FALSE` in `epidemics::new_infections()`, we get a summary of the new infections in all demographic groups.
448
-
Try keeping the default `by_group = TRUE` and adding`linetype = demography_group` when declaring variables in `ggplot(aes(...))`.
448
+
To get an age-stratified plot, keep the default `by_group = TRUE` and then add`linetype = demography_group` when declaring variables in `ggplot(aes(...))`.
0 commit comments