dat <- broadbalk.wheat
require("lattice")
xyplot(grain~straw|plot, dat, type=c('p','smooth'), as.table=TRUE)
xyplot(grain~year|plot, dat, type=c('p','smooth'), as.table=TRUE)
# See the treatment descriptions to understand the patterns
levelplot(grain~year*plot, dat, main="Grain")
levelplot(straw~year*plot, dat, main="Straw")Run the code above in your browser using DataLab