Introducing the lattice package

In addition to the base plotting system, lattice is certainly one of the best known and most used packages for data visualization. The lattice package was written by Deepayan Sarkar and is not pre-installed in R. The implementation of the lattice plotting system is done by the package, lattice, which provides the code to build the Trellis graphics and grid, which supports an independent graphing system.


The lattice add-on package is an implementation of Trellis graphics for R. It is a powerful and elegant high-level data visualization system with an emphasis on multivariate data. It is designed to meet most typical graphics needs with minimal tuning, but can also be easily extended to handle most nonstandard requirements. ...

Get Mastering RStudio – Develop, Communicate, and Collaborate with R now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.