Experimentell design i R
Joanne Xiong
Data Scientist
#one
model_1 <- lm(y ~ x, data = dataset)
anova(model_1)
#two
aov(y ~ x, data = dataset)
model_1 <- lm(y ~ x)
y = utfallsvariabelx = förklarande faktorvariabelmodel2 <- lm(y ~ x + r + s + t)
y = utfallx, r, s, t = möjliga förklarande faktorvariablerExperimentell design i R