I'm trying to run a basic one-way ANOVA in R.
library(drc)
data=S.alba
aov(DryMatter~Dose,data=S.alba)
However, there are 7 treatments in these data. Therefore, DF (degree of freedom) should be 7-1 = 6, but R shows DF as 1. I do not understand what is going on. Can anyone clarify this doubt?
> aov(DryMatter~Dose,data=S.alba)
Call:
aov(formula = DryMatter ~ Dose, data = S.alba)
Terms:
Dose Residuals
Sum of Squares 65.62088 75.12662
Deg. of Freedom 1 66
Residual standard error: 1.066903
Estimated effects may be unbalanced