R Graph Essentials [Video]

Ehsan Karim

R Graph Essentials [Video]
Downloadable video: $39.99
save 15%!

Packt Video. Stream online or download for unrestricted offline use. Learn more

Course Contents
The Author
Sample Clip
  • New! Packt Video courses: practical screencast-based tutorials that show you how to get the job done. Bite sized chunks, hands on instructions, and powerful results.
  • Learn the basics of R graphs and how to make them
  • Customize your graphs according to your specific needs without using overcomplicated techniques/packages
  • Step-by-step instructions to create a wide range of professional-looking graphs

Video Details

Language : English
Release Date : Friday, August 23, 2013
Course Length : 1 hour 57 minutes
ISBN : 1782165460
ISBN 13 : 9781782165460
Author(s) : Ehsan Karim
Topics and Technologies : Big Data and Business Intelligence, Video, e-Learning, Open Source

Table of Contents

  1. Introducing plot function [18:06 minutes]
    • Generating a basic plot with titles
    • Putting legends and setting margins
    • Putting texts and mathematical expressions in the plot
    • Symbols and colors in the plot
    • Saving the plots in various formats

  2. Further control over plot function [12:13 minutes]
    • Controlling axes and boxes
    • Controlling layouts and splits
    • Controlling colors of plot elements
    • Controlling line pattern and width
    • Controlling texts of plot elements

  3. Plots for categorical variable [12:22 mins]
    • Pie chart for one variable
    • Bar chart or Pareto chart for one variable
    • Bar chart for more than one variable
    • Labelling the pie and bar charts
    • Dot charts

  4. Plots for continuous variables [14:11 mins]
    • Stem-and-leaf plot
    • Histogram , comparison and handling bins
    • Density, rug representation and overlay plots
    • Boxplots and parameters
    • Side-by-side boxplots and parameters

  5. Bivariate plots for two continuous variables [14:28 mins]
    • Scatter plot and parameters
    • Adding straight lines and jitter points
    • Adding model summaries in the plot
    • Sub-grouping in a scatter plot
    • Conditioning plots

  6. Time series plots [14:21 mins]
    • Plotting basic line graphs using a function
    • Default time series plots
    • plotting date and time variables
    • Plotting trend
    • Setting appropriate time axes

  7. Visualizing contour plots and three dimensional plots [10:32 mins]
    • Drawing contour plots in base package
    • Drawing contour plots in Lattice
    • Drawing surfaceplot using base graphics
    • Drawing surfaceplot using Lattice
    • Drawing interactive 3D plot

  8. Miscellaneous topics [20:25 minutes]
    • Creating maps
    • Interactive options
    • R Commander
    • Trees and clustering
    • RStudio interface for graphics



Ehsan Karim

Ehsan Karim is a statistics Ph.D. candidate at the University of British Columbia. His current research interest is in the methods that deal with time-dependent confounding in longitudinal observational studies. Additionally, he is interested in software implementation of methods related to causal inference. He has been a user of R for more than 15 years, and has more than 5 years of experience in teaching various statistical software packages.
Sorry, we don't have any reviews for this video yet.

Sorry, there are currently no downloads available for this video.

Code Downloads

Download the code and support files for this video.

Support, complaints and feedback.

Packt is committed to making Packt Video courses a valuable, useful way for IT professionals to learn new skills. We have made every effort to ensure that this course reaches the required standard and will work on our customer's devices. Please go to our support page.

What you will learn from this video course

  • Learn the essentials to create a basic R plot and then customize it to make it look professional
  • Plot categorical variables when one or more variables need to be visualized
  • Visually depict one or more continuous variables and compare them
  • Generate bivariate scatter plots, sub-group them based on conditions, and add regression and other statistical summaries in the plot
  • Visualize the trends and patterns of time series data
  • Create contour plots, surface plots, 3-dimensional scatter plots, and various multi-variate visual summaries
  • Build geographical maps and controlling plots using various R interfaces

Who this video course is for

The R software is freely available, yet drawing statistical graphs is one of its greatest strengths, eclipsing most commercial packages. The R Graph Essentials course is suitable for non-statistical and non-programmer viewers who are familiar with the basics of R and want to learn the best techniques and code to create graphics in R in the best way possible.

In Detail

R is a powerful tool for performing statistical analyses and drawing publication-quality graphics. This tool is ideal for organizing and graphing huge datasets. It also provides various techniques for plotting a variety of simple and more complex statistical graphs.

R Graph Essentials is a beginner’s course to learning about R graphics. This course will provide you with both a solid grounding in the so-called “base” graphics package in R as well as introducing elements from more sophisticated packages, such as lattice and ggplot2.

R Graph Essentials explains the basic functionality of R graphs in detail in order to familiarize you with how they work. The course starts with very basic R plot functions, first helping you to gain control of this function, then moving on towards various advanced plotting functions.

Different types of graphs are used to visualize different types of variables. The R Graph Essentials video course classifies these graphs and teaches them separately. This course is a compilation of tips and tricks related to the most efficient ways of drawing various types of graphs using basic R plotting functionality. Additionally, bivariate plots, time series, and high dimensional plots are also covered in this course. By the end of this course, you will be in a position to create your own ETL processes within a short amount of time.

The course offers a practical and interactive way to learn about R graphics, equipping you with the tools to draw informative statistical plots to effectively visualize your data.


Packt video courses are designed to cover the breadth of the topic in short, hands-on, task-based videos. Each course is divided into short manageable sections, so you can watch the whole thing or jump to the bit you need. The focus is on practical instructions and screencasts showing you how to get the job done.

Follow carefully organized sequences of instructions that outline how to leverage the power of R in simple and easy to understand examples, helping you to improve your ability to create graphs. It offers a non-programmer’s approach to learn how to create R graphics. The level of complexity is suitable even for a non-statistician.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software