I am trying to run a within subjects repeated measures ANOVA test with two factors.
This is my syntax: anovawithin <- anova_test(data = Stacked_var, dv = values, wid = new_col, within = ind)
where the dataset is called "Stacked_var", the actual data under consideration is called "values", and the factor is called "ind". New_col is the index.
The error message being returned is: Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) :
0 (non-NA) cases
I'm fairly sure this isn't an issue with the dataset because I ran a one way between factors ANOVA and that worked out fine with the same dataset.
Does anyone know what I could do?