Introduction to Plotting

Justin Charles Touchon · 2021

Abstract R is one of the most powerful programs available for graphically representing your data, and chapter 4 begins the important process of teaching how this is done. Base graphics are introduced but the main focus is on teaching the package ggplot2, which has become the principal method of making figures in R. Various types of graphics are taught, including box-and-whisker plots, scatterplots, histograms, and density plots. In addition, the ways to customize these figures with colors, shapes, and faceting are also covered. The chapter ends by walking readers step-by-step through the process of creating a professional looking bar graph in both base graphics and ggplot2

Read the paper · More papers on PaperTik