Chapter 17 Highlight Certain Countries

17.1 Single Country Highlight

survey1 %>%
  calculate_smry_comp("Q1COVID19") %>%
  plot_smry_comp(.caption = "Arab Barometer Wave VI, Survey I",
                 .highlight = "Algeria")

That code will produce the following graph:

17.2 Multiple Country Highlight

survey1 %>%
  calculate_smry_comp("Q1COVID19") %>%
  plot_smry_comp(.caption = "Arab Barometer Wave VI, Survey I",
                 .highlight = c("Algeria","Lebanon"))

That code will produce the following graph:

17.3 Change Highlight Color

survey1 %>%
  calculate_smry_comp("Q1COVID19") %>%
  plot_smry_comp(.caption = "Arab Barometer Wave VI, Survey I",
                 .highlight = "Algeria",
                 .highlight_clr = "salma")

That code will produce the following graph: