Could someone help me see why my code in
R does not produce the correct output or do I have a misunderstanding on ANOVA test? As you can see, there are three categories for
fertilizer but the degrees-of-freedom shows only one. Shouldn't it be two?
I've attached the dataset link here for those who wish to try it out and a screenshot of my code and its output.