# NOT RUN {
data(broadbalk.wheat)
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="broadbalk.wheat: Grain", col.regions=RedGrayBlue)
levelplot(straw~year*plot, dat, main="broadbalk.wheat: Straw", col.regions=RedGrayBlue)
# }
Run the code above in your browser using DataLab