Cultivation {SASmixed} | R Documentation |
The Cultivation
data frame has 24 rows and 4 columns of data
from an experiment on the effect on dry weight yield of three
bacterial inoculation treatments applied to two grass cultivars.
This data frame contains the following columns:
1
to 4
a
and b
con
, dea
and
liv
Littel, R. C., Milliken, G. A., Stroup, W. W., and Wolfinger, R. D. (1996), SAS System for Mixed Models, SAS Institute (Data Set 2.2(a)).
Littel, R. C., Freund, R. J., and Spector, P. C. (1991), SAS System for Linear Models, Third Ed., SAS Institute.
library(SASmixed) data(Cultivation) options( contrasts = c(unordered = "contr.SAS", ordered = "contr.poly")) names( Cultivation ) formula( Cultivation ) fm1Cult <- lme( drywt ~ Inoc * Cult, data = Cultivation, random = list( Block = ~ 1, Cult = ~ 1 ) ) summary( fm1Cult ) # compare with Output 2.10, page 58 VarCorr( fm1Cult ) anova( fm1Cult ) fm2Cult <- update( fm1Cult, drywt ~ Inoc + Cult ) anova( fm2Cult ) fm3Cult <- update( fm1Cult, drywt ~ Inoc ) anova( fm3Cult ) summary( fm3Cult ) VarCorr( fm3Cult )