I'm using lme()
from the lme4
package to set up my model.
The experiment analyzes the effect of six different fertilizer treatments on yield, each treatment has four replicates in a randomized block design and was carried out 11 years.
The model I tryed fitting was:
fit.model <- lme(yield ~ treatment * year + (1|Block))
After reading various posts on CrossValidated I am now unsure if I can consider year as a fixed effect, most of the research papers I have read in my field take it as random.
I am mainly interested in the effect of treatment on yield over all years but also every single year, because of that I thought year should be a fixed effect.
If you need more information, just ask me for. Thanks for your help!