Session Ready
Exercise

The plot() function is generic

One of the key features of the plot() function is that it is generic, meaning that the results of applying the function depend on the nature of the object to which it is applied.

In the first exercise of this chapter, applying the plot() function to the whiteside data frame resulted in a plot array. Here, we obtain a fundamentally different kind of result when we apply the same function to Insul, a factor variable from the same data frame.

Instructions
100 XP

Apply the plot() function to the Insul variable from the whiteside data frame.