15 Matching Annotations
  1. Nov 2023
  2. Apr 2023
  3. Nov 2021
  4. Aug 2021
    1. scale_x_discrete(guide = guide_axis(n.dodge = 2))

      With guide_axis(), we can add dodge to our axis label texts to avoid overlapping texts. In the code below, we have used guide_axis() function with n.dodge=2 inside scale_x_discrete() to dodge overlapping text on x-axis.

  5. Dec 2020
    1. occupy the fill scale with a slightly darker version of the palette used for color.

      Using colorspace package.

      geom_boxplot(aes(color = season, fill = after_scale(desaturate(lighten(color, .6), .6))), size = 1)

  6. Nov 2020
  7. Oct 2020
    1. All figures were created using R Statistical Computing Software version 3.6.3 (R Core Team, 2020), relying primarily on the dplyr package (Wickham et al., 2015) for data manipulation and the ggplot2 package (Wickham 2016) for plotting. The code used to create each figure can be found at https://github.com/mkc9953/SARS-CoV-2-WW-EPI/tree/master.
  8. Mar 2018
  9. Jan 2018
  10. Nov 2017