| plots {agricolae} | R Documentation |
Experimental data in blocks, factor A in plots and factor B in sub-plots.
data(plots)
A data frame with 18 observations on the following 5 variables.
blockplotp1 p2 p3 p4 p5 p6Aa1 a2Bb1 b2 b3yieldInternational Potato Center. CIP
library(agricolae) data(plots) str(plots) plots[,1] <-as.factor(plots[,1]) # split-plot analysis model <- aov(yield ~ block + A + Error(plot)+ B + A:B, data=plots) summary(model)