Plotting in R - the basics

Plotting in R - the basics

11.490 Lượt nghe
Plotting in R - the basics
🔔 *Subscribe for weekly R videos:* https://www.youtube.com/channel/UCb5aI-GwJm3ZxlwtCsLu78Q?sub_confirmation=1 In this tutorial you'll learn how to build plots using R with ggplot and the tidyverse, including how to plot multiple lines on the same plot. We'll work step-by-step through the "Visualisation" chapter in R for Data Science (https://r4ds.had.co.nz/data-visualisation.html) written by Garrett Grolemund and Hadley Wickham which is an excellent textbook on learning how to use R for data science. 🎉 *Enjoyed this video?* Leave a comment below to share what you liked the most! The ggplot2 cheatsheet: https://rstudio.com/wp-content/uploads/2015/03/ggplot2-cheatsheet.pdf Timestamps: 0:00 Intro 0:28 Load the tidyverse packages = https://r4ds.had.co.nz/data-visualisation.html#introduction-1 1:35 First steps = https://r4ds.had.co.nz/data-visualisation.html#first-steps 4:10 Aesthetic mappings = https://r4ds.had.co.nz/data-visualisation.html#aesthetic-mappings 8:58 Common problems = https://r4ds.had.co.nz/data-visualisation.html#common-problems 11:30 Facets = https://r4ds.had.co.nz/data-visualisation.html#facets 13:28 Geometric objects = https://r4ds.had.co.nz/data-visualisation.html#geometric-objects 18:00 Statistical transformations = https://r4ds.had.co.nz/data-visualisation.html#statistical-transformations 23:10 Position adjustments = https://r4ds.had.co.nz/data-visualisation.html#position-adjustments 28:07 Coordinate systems = https://r4ds.had.co.nz/data-visualisation.html#coordinate-systems 31:25 Bonus: Reducing amount of typing by moving aes() back to ggplot() #rstats #rstudio #ggplot #datascience