Learn R Programming

SASmixed (version 0.1-7)

Cultivation: Bacterial innoculation applied to grass cultivars

Description

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.

Arguments

source

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.

Examples

Run this code
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 )

Run the code above in your browser using DataLab