| PBIB {SASmixed} | R Documentation |
A partially balanced incomplete block experiment
Description
The PBIB data frame has 60 rows and 3 columns.
Format
This data frame contains the following columns:
- response
-
a numeric vector
- Treatment
-
a factor with levels
1to15 - Block
-
an ordered factor with levels
1to15
Source
Littel, R. C., Milliken, G. A., Stroup, W. W., and Wolfinger, R. D. (1996), SAS System for Mixed Models, SAS Institute (Data Set 1.5.1).
Examples
str(PBIB)
if (require("lme4", quietly = TRUE, character = TRUE)) {
options(contrasts = c(unordered = "contr.SAS", ordered = "contr.poly"))
## compare with output 1.7 pp. 24-25
print(fm1PBIB <- lmer(response ~ Treatment + (1|Block), PBIB))
print(anova(fm1PBIB))
}
[Package SASmixed version 1.0-4 Index]