dat <- broadbalk.wheat
require(lattice)
xyplot(grain~straw|plot, dat, type=c('p','smooth'), as.table=TRUE,
main="broadbalk.wheat")
xyplot(grain~year|plot, dat, type=c('p','smooth'), as.table=TRUE,
main="broadbalk.wheat") # yields are decreasing
# 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