The following code does NOT result in a plot appearing on the screen device.
p <- xyplot(Ozone ~ Wind | factor(Month), data = airquality)
Which of the following is an explanation for why no plot appears?
- The object ‘p’ has not yet been printed with the appropriate print method.
- There is a syntax error in the call to xyplot().
- The variables being plotted are not found in that dataset.
- The xyplot() function, by default, sends plots to the PDF device.
Get All Week Quiz Answer: