Skip to content

Commit

Permalink
Edits for paper revisions
Browse files Browse the repository at this point in the history
  • Loading branch information
markagreen authored Nov 14, 2023
1 parent 00baa57 commit ede3b2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions analysis/describing_trends.R
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ overall_imd_plot_f <- imd1_f + imd2_f + imd3_f + imd4_f + imd5_f + imd6_f + # Co
plot_annotation(tag_levels = 'A') + # Give plot labels
plot_annotation(title = "Trends in female hospital admissions by neighbourhood deprivation",
subtitle = "Directly age-standardised admission rates per 100,000 population",
caption = "A = Total emergency hospital admissions, B = All ambulatory care admissions, \nC = Acute ambulatory care admissions, D = Chronic ambulatory care admissions, \nE = Vaccine-preventable ambulatory care admissions, F = Emergency urgent care sensitive conditions.") + # Add title and descriptions
caption = "A = Total emergency hospital admissions, B = All ambulatory care sensitive admissions, \nC = Acute ambulatory care sensitive admissions, D = Chronic ambulatory care sensitive admissions, \nE = Vaccine-preventable ambulatory care sensitive admissions, F = Emergency urgent care sensitive conditions.") + # Add title and descriptions
plot_layout(guides = "collect") & theme(legend.position = "bottom") # Use same legend and place at bottom
overall_imd_plot_f
ggsave(overall_imd_plot_f, filename = "../output/plots/imd_trends_f.jpeg")
Expand All @@ -496,7 +496,7 @@ overall_imd_plot_m <- imd1_m + imd2_m + imd3_m + imd4_m + imd5_m + imd6_m + # Co
plot_annotation(tag_levels = 'A') + # Give plot labels
plot_annotation(title = "Trends in male hospital admissions by neighbourhood deprivation",
subtitle = "Directly age-standardised admission rates per 100,000 population",
caption = "A = Total emergency hospital admissions, B = All ambulatory care admissions, \nC = Acute ambulatory care admissions, D = Chronic ambulatory care admissions, \nE = Vaccine-preventable ambulatory care admissions, F = Emergency urgent care sensitive conditions.") + # Add title and descriptions
caption = "A = Total emergency hospital admissions, B = All ambulatory care sensitive admissions, \nC = Acute ambulatory care sensitive admissions, D = Chronic ambulatory care sensitive admissions, \nE = Vaccine-preventable ambulatory care sensitive admissions, F = Emergency urgent care sensitive conditions.") + # Add title and descriptions
plot_layout(guides = "collect") & theme(legend.position = "bottom") # Use same legend and place at bottom
overall_imd_plot_m
ggsave(overall_imd_plot_m, filename = "../output/plots/imd_trends_m.jpeg")
Expand Down

0 comments on commit ede3b2a

Please sign in to comment.