Interactive Course

Data Visualization in R with lattice

Learn to visualize multivariate datasets using lattice graphics.

  • 4 hours
  • 17 Videos
  • 60 Exercises
  • 2,573 Participants
  • 4,950 XP

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.

Learn to visualize multivariate datasets using lattice graphics.

Course Outline

  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.

  2. Controlling scales and graphical parameters

    Learn how to control and customize axis limits and visual appearance.

  3. 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.

  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.

  2. Conditioning and the formula interface

    These exercises will teach you to create "conditioned" plots consisting of multiple panels using the formula interface.

  3. Controlling scales and graphical parameters

    Learn how to control and customize axis limits and visual appearance.

  4. Customizing plots using panel functions

    Learn to use panel and prepanel functions to enhance existing displays or create new ones.

  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.

Deepayan Sarkar
Deepayan Sarkar

Member of R-Core & the creator of lattice

Deepayan is an Associate Professor at the Indian Statistical Institute, and a member of R-Core. He is the creator of the lattice package, and the author of the corresponding book Lattice - Multivariate Data Visualization with R.

See More
Collaborators
  • Tom Jeon

    Tom Jeon

  • Richie Cotton

    Richie Cotton

  • Sumedh Panchadhar

    Sumedh Panchadhar

Course Instructor

Deepayan Sarkar
Deepayan Sarkar

Member of R-Core & the creator of lattice

Deepayan is an Associate Professor at the Indian Statistical Institute, and a member of R-Core. He is the creator of the lattice package, and the author of the corresponding book Lattice - Multivariate Data Visualization with R.

See More
Collaborator(s)
  • Tom Jeon

    Tom Jeon

  • Richie Cotton

    Richie Cotton

  • Sumedh Panchadhar

    Sumedh Panchadhar

Join over 3,300,000 others learning to leverage the power of data with DataCamp!

Start Course For Free
Icon Icon Icon professional Icon info