Graphs in R - Data Visualization with R Programming Language

Convincing R graphs using ggplot 2, lattice, plotrix & base. Use the powerful R language to create vivid visualizations
4.2 (45 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
1,370 students enrolled
Take This Course
  • Lectures 46
  • Contents Video: 3.5 hours
    Other: 1 hour
  • Skill Level Intermediate Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 9/2014 English

Course Description

R-Tutorials shows how to create convincing graphs in R

Do you want to create overwhelming plots?

Do you want to show your data crystal clear?

Do you want your data to be understood by everyone?

Do you want a versatile graphics toolbox?

Do you want powerful formatting skills?

If you anwered YES to some of these questions - this course is for you!

Data is useless if you do not have the right tools to build informative graphs. Plots need to be understood easily while being accurate at the same time. R-Tutorials gladly enlarges your data toolbox so that you can surmount in your career.

R offers a variety of plotting devices, some of them (like ggplot2) are whole systems which need to be learned like a new language. R-Tutorials shows how to learn those languages.

In this course you will learn about the most important plotting packages ggplot2, lattice and plotrix. According to the teaching principles of R Tutorials every section is enforced by exercises for a better learning experience. You can download the code pdf of every section to try the presented code on your own.

The course starts with the base parameters which are needed to format and manipulate any basic graphs in R.

After that you will learn about the most common types of graphs in R base and you will see some very useful graphical extensions of the plotrix package.

Ggplot2 is a very famous graphs package and is viewed as the most powerful graphics device R has to offer. You will get an in depth tutorial on that package.

At last you can see how Lattice offers some more very useful functions.

With that knowledge you will have an extremely powerful toolbox to excel in your career and in your studies.

This is one of the most extensive tutorials on R graphs on the web! If you need graphical skills for your career, this is your chance.

In case you also want to gain a very solid understanding of R`s alternative functionalities including loops and functions, you can check out the Level 1 course. If you are purchasing a combined package you will get a pm with the access code to the other course. For special offers and combinations just check out the r-tutorials webpage which you can find below the teachers profile.

What R you waiting for?


What are the requirements?

  • Basic statistics knowledge
  • Basic understanding of graph creation
  • Good understanding of R (up to R Level 1 course content)
  • Interest in data science
  • R and RStudio ready on your computer

What am I going to get from this course?

  • you will learn all about the graphical parameters in R
  • you will see how the plotrix library can enlarge your data toolbox
  • you will learn how you can create histograms, barplots, scatterplots, lineplots, stepplots and many more by using the R base functionalities
  • you will learn about the whole different system of ggplot2 plots
  • you will learn about the lattice package, which is widely used in academic settings

What is the target audience?

  • Statisticians and data scientists
  • Students working with data
  • Entrepreneurs working with R
  • Web Developers

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Graphical parameters in R base

Introduction to the par family

Changing parameters with par


Par functions from A - F


Par functions from F to L


Par from L to M


Point Types


Introduction to par from P to X


Types of plot function

Different ways of adding text to a plot


Adding line with abline - lower level plotting

Adding symbols to plot


Adding legends

Formatting axes



Exercises par
Solutions par
Further R Exercises
Parameters Script
16 pages
Section 2: Base plotting commands


Adding means to boxplots




Combined histograms


Single and grouped bar plots


Pie charts


Exercises and solutions Base plots
Base plots Scipt
8 pages
Section 3: Library plotrix
Introduction to plotrix and nested bar charts
3Dpie charts and fan plots
Gantt charts
Gap plot and adding tables to a plot
Zoom in plot and lower level plotting


Exercises plotrix
Solutions Plotrix
Plotrix Script
13 pages
Section 4: Library ggplot2
Intro to ggplot2
Plotting with qplot
Histograms, facets and aesthetics with qplot
ggplot intro
Scatterplots with ggplot
Formatting text with ggplot
Histograms with ggplot
Boxplots with ggplot
Exercises ggplot2
Solutions ggplot2
Ggplot2 Script
18 pages
Section 5: Library lattice
Introduction to Lattice and Bar charts
Box plot and Violin plots
Exercises and Solutions in Lattice
Script Lattice
7 pages

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

R-Tutorials Training, Data Science Education

R-Tutorials is your provider of choice when it comes to analytics training courses! Try it out – our 30,000+ students love it.

We focus on Data Science tutorials. Offering several R courses for every skill level, we are Udemy's number one R training provider. On top of that courses on Tableau, Excel and a Data Science career guide are available.

All of our courses contain exercises to give you the opportunity to try out the material on your own. You will also get downloadable script pdfs to recap the lessons.

The courses are taught by our main instructor Martin – trained biostatistician and enthusiastic data scientist / R user.

Should you have any questions, you are invited to check out our website, you can open a discussion in the course or you can simply drop us a pm.

We are there to help you boost your career with analytics training – Just learn and enjoy.

Ready to start learning?
Take This Course