wellplate {asuR} | R Documentation |
An example data set with two random variables that are crossed (row and column). And one fixed variable a treatment.
data(wellplate)
A data frame with 96 observations on the following 4 variables.
row
col
trt
contr
treat
int
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
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))