Chapter 11. Data Visualization Using Lattice

In this chapter, we will cover the following recipes:

  • Creating bar charts
  • Creating stacked bar charts
  • Creating bar charts to visualize cross-tabulation
  • Creating a conditional histogram
  • Visualizing distributions through a kernel-density plot
  • Creating a normal Q-Q plot
  • Visualizing an empirical Cumulative Distribution Function
  • Creating a boxplot
  • Creating a conditional scatter plot

Introduction

In this chapter, we intend to show you data visualization using the lattice package where producing conditional plots is much easier than the basic graphs. The focal point of the chapter will be basic graphs that are most commonly used during data visualization. Starting from a single variable bar chart, we will continue to ...

Get R: Data Analysis and Visualization 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.