开发者

Graph does not show after type lattice command

I installed the package lattice, and typed xyplot(). There is no error message but neither does a graph show u开发者_JS百科p. I tried to switch to plot() and it works well. Any idea why it happened? Thank you!


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜