Introduction to R: Plotting with ggplot2
The base R plotting functions are nice for quick and dirty exploratory data analysis, but if you need to make more complicated plots or figures for use on the web or in publications you will want to use a fully featured plotting package like ggplot2. The ggplot2 library uses a standardized syntax for making plots based on the grammar of graphics, which gives plots in ggplot2 an intuitive and formulaic construction.
This is lesson 20 of a 30-part introduction to the R programming language for data analysis and predictive modeling. Link to the code notebook below:
Intro to R: Plotting with ggplot2
https://www.kaggle.com/hamelg/intro-to-r-part-20-plotting-with-ggplot2
ggplot2 cheatsheet:
https://www.rstudio.com/wp-content/uploads/2016/11/ggplot2-cheatsheet-2.1.pdf
This guide does not assume any prior exposure to R, programming or data science. It is intended for beginners with an interest in data science and those who might now other programming languages and would like to learn R.
I will create the videos for this guide such that you should be able to learn a lot just watching on YouTube, but to get the most out of the guide, it is recommended that you create a Kaggle account so that you can fork and edit each lesson so that you can follow along and run code yourself.
Follow DataDaft on social media for news and updates:
Twitter: https://twitter.com/DataDaft
Join the DataDaft Discord to discuss all things data science:
https://discord.gg/ZS2yPNw
Introduction to R Playlist:
https://www.youtube.com/playlist?list=PLiC1doDIe9rDjk9tSOIUZJU4s5NpEyYtE
#r #datascience #dataviz
Other Videos By DataDaft
| 2019-09-30 | dplyr: gather and spread |
| 2019-09-28 | dplyr: separate and unite |
| 2019-09-27 | dplyr: mutate |
| 2019-09-25 | dlpyr: rename and arrange |
| 2019-09-24 | dplyr: select |
| 2019-09-17 | dplyr: filter |
| 2019-09-13 | dplyr: Pipes |
| 2019-09-13 | dplyr: Getting Started |
| 2019-09-11 | Introduction to R: Descriptive Statistics |
| 2019-09-06 | How to Read csv Data Into R |
| 2019-09-05 | Introduction to R: Plotting with ggplot2 |
| 2019-09-04 | How To Use ifelse in R |
| 2019-09-03 | Introduction to R: Plotting in Base R |
| 2019-08-28 | Introduction to R: Frequency Tables |
| 2019-08-27 | Introduction to R: Merging Data |
| 2019-08-23 | Introduction to R: Dealing With Dates |
| 2019-08-21 | Introduction to R: Preparing Numeric Data |
| 2019-08-20 | Introduction to R: Working with Text Data |
| 2019-08-13 | Introduction to R: Exploring and Preparing Data |
| 2019-08-12 | Introduction to R: Functions |
| 2019-08-09 | Introduction to R: Control Flow |

