Data Visualization with lattice in R
Offered By: DataCamp
Course Description
Overview
Learn to visualize multivariate datasets using lattice graphics.
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.
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.
Syllabus
Basic plotting with lattice
-Introduction to some basic plotting functions in lattice. Draw histograms, scatter plots, density plots, and box and whisker plots.
Conditioning and the formula interface
-These exercises will teach you to create "conditioned" plots consisting of multiple panels using the formula interface.
Controlling scales and graphical parameters
-Learn how to control and customize axis limits and visual appearance.
Customizing plots using panel functions
-Learn to use panel and prepanel functions to enhance existing displays or create new ones.
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.
-Introduction to some basic plotting functions in lattice. Draw histograms, scatter plots, density plots, and box and whisker plots.
Conditioning and the formula interface
-These exercises will teach you to create "conditioned" plots consisting of multiple panels using the formula interface.
Controlling scales and graphical parameters
-Learn how to control and customize axis limits and visual appearance.
Customizing plots using panel functions
-Learn to use panel and prepanel functions to enhance existing displays or create new ones.
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.
Taught by
Deepayan Sarkar
Related Courses
Intro to StatisticsStanford University via Udacity Introduction to Data Science
University of Washington via Coursera Passion Driven Statistics
Wesleyan University via Coursera Information Visualization
Indiana University via Independent DCO042 - Python For Informatics
University of Michigan via Independent