Skip to main content

Mohammad Mustafa Ibrahimy has completed

Data Visualization with lattice in R

Start course For Free
4 hr
4,950 XP
Statement of Accomplishment Badge

Loved by learners at thousands of companies


Course Description

Visualization is an essential component of interactive data analysis in R. Traditional (base) graphics is powerful, but limited in its ability to deal with multivariate data. Trellis graphics is the natural successor to traditional graphics, extending its simple philosophy to gracefully handle common multivariable data visualization tasks. This course introduces the lattice package, which implements Trellis graphics for R, and illustrates its basic use.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.
  1. 1

    Basic plotting with lattice

    Free

    Introduction to some basic plotting functions in lattice. Draw histograms, scatter plots, density plots, and box and whisker plots.

    Play Chapter Now
    Introduction
    50 xp
    Formula interface in histogram() and xyplot()
    50 xp
    Create a histogram
    100 xp
    Create a scatterplot
    100 xp
    Differences between base R graphics and lattice histogram
    50 xp
    Optional arguments
    50 xp
    Y-axis value in histogram()
    100 xp
    Labels
    100 xp
    Density plots
    100 xp
    Box and whisker plots and reordering levels
    50 xp
    Box and whisker plot
    100 xp
    Whisker extents and outliers
    100 xp
  2. 5

    Extensions and the lattice ecosystem

    The lattice package is not just meant to be used as a standalone collection of plotting functions. Rather, it is a framework that is used as a base by many other packages. Some of these are very specialized and beyond the scope of this course. Here we give a brief survey of extensions that are generally useful to enhance displays or create new ones.

    Play Chapter Now
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

collaborators

Collaborator's avatar
Tom Jeon
Collaborator's avatar
Richie Cotton

prerequisites

Data Visualization in R
Deepayan Sarkar HeadshotDeepayan Sarkar

Member of R-Core & the creator of lattice

See More

Join over 17 million learners and start Data Visualization with lattice in R today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.