Visualization in R with ggplot2
This course will teach you ggplot as an implementation of the grammar of graphics in R. ggplot combines the advantages of base and lattice graphics while maintaining the ability to build up a plot step by step from multiple data sources.
Overview
In this course, participants will learn how to use the ggplot2 Project to make, format, label and adjust graphs using R. ggplot2 combines the advantages of base and lattice graphics while maintaining the ability to build up a plot step by step from multiple data sources. The ggplot2 Project, created by Hadley Wickham, is named after the term “Grammar of Graphics”, which was coined by Leland Wilkinson (creator of Systat) and won the 2006 John Chambers Award for Statistical Computing. This “grammar of graphics” is a system of describing and organizing the fundamental components of a graph and the process of creating a graph. Using ggplot2, participants will learn how to design and implement graphs in an efficient, elegant, and systematic manner, following principles of general good graphing practice.
NOTE: The course is available on a contract basis only. Have 6 or more people interested? Contact us for a group rate.
- Intermediate
- 4 Weeks
- Expert Instructor
- Tuiton-Back Guarantee
- 100% Online
- TA Support
Learning Outcomes
This course is ideal for statistical analysts who use R and need to create or modify graphs. In this online course, participants will learn how to use the ggplot2 Project to make, format, label, and adjust graphs using R.
- Create basic plots (scatterplots, histograms, and barcharts)
- Add extra variables with aesthetics (like color, shape, and size) or faceting
- Display data in other forms (densityplots, boxplots, etc.) using geoms
- Overcoming overplotting with drawing scatterplots of large datasets
- Add group-wise summaries and transformations to your plots
- Add labels, legends, and axes
Who Should Take This Course
Statistical analysts who use R and need to create or modify graphs.
Our Instructors
Dr. Randall Pruim
Course Syllabus
Week 1
Introduction to ggplot2
- How to create basic plots (scatterplots, histograms, and barcharts) using qplot()
- Setting vs. mapping
- How to add extra variables with aesthetics (like color, shape, and size) or faceting
Week 2
Digging Deeper into ggplot2
- The ggplot system: geoms, stats, and more
- How to display data in other forms (densityplots, boxplots, etc.) using geoms
- Techniques for overcoming overplotting with drawing scatterplots of large datasets
Week 3
Data Manipulation for Plotting, dplyr
- Group-wise summaries and transformations to add extra information to your plots
- How to visualize time series
Week 4
Polishing Your Plots
- Tweaking your plots for maximum presentation impact
- Introduction to color theory
- Labels, legends, and axes
- Using and adjusting the plot themes
Class Dates
1970
Instructors:
Instructors:
Instructors:
Prerequisites
While ggplot2 is a mini-language specifically tailored for producing graphics, you will need some familiarity with data handling in R before taking this course.
Introduction to R Programming
- Skill: Intermediate
- Credit Options: CAP, CEU
The Statistics.com courses have helped me a lot, pushing me to the limit and making me learn much more than I expected I could. The knowledge I gained I could immediately leverage in my job … then eventually led to landing a job in my dream company – Amazon.
Karolis Urbonas
This program has been a life and work game changer for me. Within 2 weeks of taking this class, I was able to produce far more than I ever had before.
Susan Kamp
The material covered in the Analytics for Data Science Certificate will be indispensable in my work. I can’t wait to take other courses. Great work!
Stephen McAllister
I learned more in the past 6 weeks than I did taking a full semester of statistics in college, and 10 weeks of statistics in graduate school. Seriously.
Amir Aminimanizani
This is the best online course I have ever taken. Very well prepared. Covers a lot of real-life problems. Good job, thank you very much!
Elena Rose
The more courses I take at Statistics.com, the more appreciation I have for the smart approach, quality of instructors, assistants, admin and program. Well done!
Leonardo Nagata
This course greatly benefited me because I am interested in working in AI. It has given me solid foundational knowledge…After completing this last course, I feel I have gained valuable skills that will enhance my employability in Data Science, opening up diverse career opportunities.
Richard Jackson
Frequently Asked Questions
-
What is your satisfaction guarantee and how does it work?
-
Can I transfer or withdraw from a course?
-
Who are the instructors at Statistics.com?
Visit our knowledge base and learn more.
Additional Information
Homework
Homework in this course consists of guided exercises in writing code for producing graphs.
In addition to assigned readings, this course also has discussion tasks, and supplemental readings available online.
Course Text
The instructor has prepared materials for use in the course. There is also a suggested text for review and reference – ggplot2: Elegant Graphics for Data Analysis by Hadley Wickham. The text may be purchased here.
Software
Participants should be familiar with and have access to R, and should download and install the ggplot2 Project before the course starts.
Supplemental Information
Literacy, Accessibility, and Dyslexia
At Statistics.com, we aim to provide a learning environment suitable for everyone. To help you get the most out of your learning experience, we have researched and tested several assistance tools. For students with dyslexia, colorblindness, or reading difficulties, we recommend the following web browser add-ons and extensions:
Chrome
- Color Enhancer (for colorblindness)
- HelperBird (for colorblindness, dyslexia, and reading difficulties)
Firefox
- Mobile Dyslexic
- Color Vision Simulation (native accessibility feature)
- Other native accessibility features instructions
Safari
- Navidys (for colorblindness, dyslexia, and reading difficulties)
- HelperBird for Safari (for colorblindness, dyslexia, and reading difficulties)