sagva
February 17, 2021, 10:27pm
1
Hello,
I used the following code to do a Dunn test:
install.packages("FSA")
library(FSA)
DT = dunnTest(Plasma_osmolality ~ Treatment,data=my_data, method="bh")
DT
While I get the results, I also keep getting the error message: "Warning message: treatment was coerced to a factor"
I'm not sure what this means. Could someone please help?
TIA
This just means that the Treatment variable had not been created as a factor. You can change it within the my_data object with as.factor. See the FAQ: How to do a minimal reproducible example reprex for beginners
sagva
February 22, 2021, 11:07pm
3
Could you please tell me how I could do so? I've looked it up but I can't find a way.
Again, please see the FAQ: How to do a minimal reproducible example reprex for beginners so that your my_data or similar data can be used to illustrate the question.