Description Usage Format Details Source Examples
An example data set with two random variables that are crossed (row and column). And one fixed variable a treatment.
1 |
A data frame with 96 observations on the following 4 variables.
row
a factor with 8 levels
col
a factor with 12 levels
trt
a factor with levels contr
treat
int
a numeric vector
A simulated data set with the parameters: variance among rows (50),
variance among columns (150), residual variance (10),
factor trt: levels: "contr" (100), "treat" (200).
DATASETS with different column variance structure:
wellplate2: variance among columns ("treat" 150; "contr" 0; covariance 0)
wellplate3: variance among columns ("treat" 150; "contr" 150; covariance 0)
simulated by thomas.fabbro@unibas.ch
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | data(wellplate)
str(wellplate)
# library(lme4)
# (model <- lmer(int ~ 1 + (1|row) + (1|col), data=wellplate))
#(model <- lmer(int ~ 1 + (1|row) + (1|col), data=wellplate))
# (model2 <- lmer(int ~ trt + (1|row) + (1|trt:col), data=wellplate2))
# (model3 <- lmer(int ~ trt + (1|row) + (trt-1|col), data=wellplate3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.