Which of the following is an explanation for why no plot appears?

The following code does NOT result in a plot appearing on the screen device.

1234
library(lattice)
library(datasets)
data(airquality)
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:

Exploratory Data Analysis Coursera Quiz Answer

Similar Posts