I installed the package lattice, and typed xyplot(). There is no error message but neither does a graph show up. I tried to switch to plot()
lattice
xyplot()
plot()
Try this:
require(lattice) require(stats) Depth <- equal.count(quakes$depth, number=8, overlap=.1) my_plot <- xyplot(lat ~ long | Depth, data = quakes) print(my_plot)
Thanks to richiemorrisroe and Gavin Simpson.