11 January 2024 1 8K Report

Hi everyone! I tried to perform a classic One Way Anova with the package GAD in R, followed by a SNK test, which I always used, but it didn't work with this dataset, and I got the same error for both tests, which is the following:

"Error in if (colnames(tm.class)[j] == "fixed") tm.final[i, j] = 0 :

missing value where TRUE/FALSE needed"

I understand there is something that gives NA values in my datatset but I do not know how to fix it. There are no NA values in the dataset as itself. Here is the dataset:

temp Filtr_eff

gradi19 11.33

gradi19 15.90

gradi19 10.54

gradi26 11.01

gradi26 -1.33

gradi26 9.80

gradi30 -49.77

gradi30 -42.05

gradi30 -32.03

So, I have three different levels of the factor temp (gradi19, gradi26 and gradi30) and my variable is Filtr_eff. I also already set the factor as fixed.

Please help me, how do I fix the error? I could do the Anova with another package (library car worked for example with this dataset) and I could do tukey instead of SNK, but I want to understand why I got this error since it never happened to me..thanks!

PS: I attached the R and txt files

More Anna Reboa's questions See All
Similar questions and discussions