Session Ready
Exercise

Matrix-like subsetting

Depending on the amount of space available, a conditioned plot may have too many combinations to be displayed effectively. Such plots can be split into multiple pages using the layout argument. But another convenient way to explore large lattice plots is to subset them like a matrix or array, using the [ indexing operator, to display only parts of the plot at a time.

Instructions
100 XP

The USCancerRates dataset has been preloaded.

  • Plot a subset of the tplot object produced in the previous exercise.

  • Retain both genders, but only the last three divisions: West South Central, South Atlantic, and East South Central.