O'Reilly logo

R in Action, Second Edition: Data analysis and graphics with R by Robert Kabacoff

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Bonus Chapter 23. Advanced graphics with the lattice package

This chapter covers

  • An introduction to the lattice package
  • Grouping and conditioning
  • Adding information with panel functions
  • Customizing a lattice graph’s appearance

In this book, you created a wide variety of graphs using base functions from the graphics package included with R and specialized functions from author-contributed packages. In chapter 19, you learned a new syntax for creating graphs using functions from the ggplot2 package. The ggplot2 package offers an alternative to R’s base graphics and is particularly useful when creating complex plots.

In this bonus chapter, we’ll look at the lattice package, written by Deepayan Sarkar (2008); this package implements trellis ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required