Snippets Collections
ggplot(mpg) + 
  geom_point(var1, var2, colour = var3) + #specify variable to colour mapping
             scale_colour_brewer(type = "qual") 
ggplot(data = <DATA>) + 
  <GEOM_FUNCTION>(mapping = aes(<MAPPINGS>))
star

Sun Jun 19 2022 11:56:18 GMT+0000 (Coordinated Universal Time)

#r #ggplot2
star

Sat May 08 2021 22:27:18 GMT+0000 (Coordinated Universal Time) https://r4ds.had.co.nz/data-visualisation.html

#r #ggplot2 #visualization

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension