wellplate: wellplate

Description Usage Format Details Source Examples

Description

An example data set with two random variables that are crossed (row and column). And one fixed variable a treatment.

Usage

1

Format

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

Details

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)

Source

simulated by thomas.fabbro@unibas.ch

Examples

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

asuR documentation built on May 2, 2019, 4:50 p.m.

Related to wellplate in asuR...