Plotting in R - the basics
Tom Henry - data science with R
0:00 / 0:00
Plotting in R - the basics
11 934 просмотра · 6 л. назад
Tom Henry - data science with R
4,04 тыс. подписчиков
11 934 просмотра · 6 л. назад
🔔 Subscribe for weekly R videos: / @tomhenry-datasciencewithr6047
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-visualisa...) 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/upload...
Timestamps:
0:00 Intro
0:28 Load the tidyverse packages = https://r4ds.had.co.nz/data-visualisa...
1:35 First steps = https://r4ds.had.co.nz/data-visualisa...
4:10 Aesthetic mappings = https://r4ds.had.co.nz/data-visualisa...
8:58 Common problems = https://r4ds.had.co.nz/data-visualisa...
11:30 Facets = https://r4ds.had.co.nz/data-visualisa...
13:28 Geometric objects = https://r4ds.had.co.nz/data-visualisa...
18:00 Statistical transformations = https://r4ds.had.co.nz/data-visualisa...
23:10 Position adjustments = https://r4ds.had.co.nz/data-visualisa...
28:07 Coordinate systems = https://r4ds.had.co.nz/data-visualisa...
31:25 Bonus: Reducing amount of typing by moving aes() back to ggplot()
#rstats #rstudio #ggplot #datascience