Learn R Programming

SASmixed (version 0.1-7)

Genetics: Heritability data

Description

The Genetics data frame has 60 rows and 4 columns.

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 4.5).

Examples

Run this code
data(Genetics)
options(
  contrasts = c(unordered = "contr.SAS", ordered = "contr.poly"))
formula( Genetics )
fm1Gen <- lme( Yield ~ 1, data = Genetics,
   random = list(Location = pdCompSymm(~ Family - 1), Block = ~ 1) )
summary( fm1Gen )
VarCorr( fm1Gen )      # compare with Output 4.18, p. 165
anova( fm1Gen )

Run the code above in your browser using DataLab