FlukeAndFeather / jese4sci-DOC

Documentation track of the jese4sci short course
0 stars 0 forks source link

DOC102 #18

Open kathyle9 opened 2 years ago

kathyle9 commented 2 years ago
  1. ggplot2

Why should I use it?

ggplot2 is a system for declaratively creating graphics, based on The Grammar of Graphics. You provide the data, tell ggplot2 how to map variables to aesthetics, what graphical primitives to use, and it takes care of the details.

How do I use it? First, there is a cheat sheet that demonstrates basic usage and lists many of the functions people typically use. Second, there is a code example: library(ggplot2) ggplot(mpg, aes(displ, hwy, colour = class)) + geom_point()

How do I get it? install.packages("tidyverse") or install.packages("ggplot2") or devtools::install_github("tidyverse/ggplot2")

  1. https://github.com/kathyle9/simplerc
mcgoodman commented 2 years ago

Hi Kathy - your answer to the first question is excellent, but I can't read your README for the second question since it's still an Rmd file and needs to be rendered in plain markdown! To do this, knit your README.Rmd, push the resulting README.md file to github, and link back to your repository.