I wanted to perform ANOVA on my dataset using rstatix package.
This is the command I used
anova_test(data = light3, dv = gene_copies, wid = ID, within = treatment)
And this is the error it gives me:
Fehler in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) : 0 (non-NA) cases
My data consists of 4 different groups (treatment, factor class). Per group there are 3x3 values (gene_copies, numeric class). Each value has an individual ID and assigned timepoint (3 values per timepoint, timepoint factor class) in a separate column. There are no NAs in the table and every group+timepoint has 3 values so that everything is balanced out.
I adapted the command from this script: https://www.datanovia.com/en/lessons/repeated-measures-anova-in-r/
My dataset has the exact same structure.
Please help