theorashid / thesis

PhD thesis
https://theorashid.github.io/thesis/
1 stars 0 forks source link

add more colours to eda map #10

Closed theorashid closed 1 year ago

theorashid commented 1 year ago

Fixed using

scale_fill_continuous_sequential(
  palette = "Reds",
  rev = FALSE,
  name = str_c("Life expectancy, men"),
  breaks = breaks_pretty(n = 5),
  limits = c(min(level_df_male$ex) * 0.97, max(level_df_male$ex) * 1.03),
  l1 = 0,
  p1 = 2,
  p2 = 3
)