8 Matching Annotations
  1. 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)

  2. Nov 2020
    1. Let’s fit regression line to our model:

      plot() and lines() seem to plot regression lines

      • Can they be added to a ggplot?
      • Can they be used to print R2 on the plot?
  3. Oct 2020
    1. If you're using ggplot, you can use scales::pseudo_log_trans() as your transformation object. This will replace your -inf with 0.
    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.
  4. Mar 2018
  5. Jan 2018
  6. Nov 2017
    1. additional dimension may be of course time, but also any other changing parameter suchas voltage or current or the change of material or geometric parameters

      Like in Grammar of Graphics: mapping data to scales