How to Format Data for ggplot2 in R – Demonstration
Channel: Monika Wahi
Date: 2019-09-06

*Note: I may be compensated, but you will not be charged, if you click on the links below.

In this video, Monika Wahi shows you how to format a dataset for plotting in package ggplot2 Windows R GUI.
💿 Github link to files: https://buff.ly/3TcL2pg 
📀 Related blog post showing you how to use an image to inspire a color palette in R: https://buff.ly/3ehoiWo 
💿 Related blog post about adding error bars: https://buff.ly/3esitFA 
📀 Monika’s courses on LinkedIn Learning: https://linkedin-learning.pxf.io/NKN0JO 

WANT TO SUPPORT MONIKA ON SOCIAL MEDIA?
❤️Subscribe to Monika's YouTube channel: https://buff.ly/2W6ijuc   
🧡Follow/connect with Monika on LinkedIn: https://www.linkedin.com/in/dethwench/ 
💛Follow Monika on Twitter: https://twitter.com/PHExaminer 
💚Try Monika’s courses on LinkedIn Learning: https://linkedin-learning.pxf.io/NKN0JO 
💙Try Monika's boutique research methods and data science courses here: https://buff.ly/3zM243P 

00:53 Explanation of the data being used for demonstration. Source article: https://buff.ly/3CkEWwq 
01:10 Explanation of the dataset – and dataset structure
02:46 ggplot2 code for bar plot. How to fill in the aes argument – which is the main 
03:48 Calling geom_bar. This is where a different calling a different shape would result in a different plot.
04:33 Running the code. Check out my next video to make the colors less ugly: https://youtu.be/6iq9hXLZc80

How to Format Data for ggplot2 in R – Demonstration