Ggplot
Ggplot
in R
GGPLOT
1. Install library
install.packages("tidyverse")
2. library(tidyverse)
Section 1 Title
Plots work best with data in the ‘long’ format, i.e., a column for
every variable, and a row for every observation. Well-structured
data will save you lots of time when making figures with ggplot2
ggplot graphics are built layer by layer by adding new elements.
Adding layers in this fashion allows for extensive flexibility and
customization of plots.
Section 1 Title