twofactors {drc} | R Documentation |
The dataset consists of several dose response curves for each combination of two factors that possibly influence the dose-response relationship.
data(twofactors)
A data frame with 288 observations on the following 4 variables.
date
02-05-2005
20-04-2005
25-04-2005
treatment
yes
no
conc
length
It turns out that the two factors only need to enter the model for the parameter e, in an additive way.
Artificial data
model1 <- multdrc(length ~ conc, date:treatment, data = twofactors, fct = l3(), collapse = list(~date:treatment-1, ~date:treatment-1, ~date:treatment-1), na.action=na.omit) summary(model1) rm(model1)