Here is my code:
res.aov <- anova_test( data = tomato1, dv = Pb, wid = Plant.Id, within = Year, between = c(Treatment, Site)) get_anova_table(res.aov) When I run the code, I get the following error:
Error in solve.default(crossprod(model.matrix(mod))) : system is computationally singular: reciprocal condition number = 7.14179e-18
The variables plant.id treatment and site are all factors. I have tried the variable type year as numeric and as a factor. The variable Pb is numeric.
There are a total of 38 observations in this dataset.