thanks for your response!
I'm not sure how to attach my data. The table above is the data I'm using for this.
I don't understand why i would change alcohol percentage into numeric when it's ordinal but I tried anyway and i changed the alcohol percentage to numeric and the formula still didn't work.
this is my coding:
#changing variables to categorical
class(conc_analysis$embryograding)
conc_analysis$embryograding<- as.factor(conc_analysis$embryograding)
class(conc_analysis$alcoholpercentage)
conc_analysis$alcoholpercentage<- as.factor(conc_analysis$alcoholpercentage)
#stats
kruskal.test(conc_analysis$alcoholpercentage ~ conc_analysis$embryograding)
#post hoc testing
install.packages("FSA")
library("FSA")
install.packages("dunn.test")
library("dunn.test")
wilcox.test(alcoholpercentage ~ embryograding,
data = conc_analysis,
p.adjust.method="bonferroni")
dunnTest(alcoholpercentage ~ embryograding,
data = conc_analysis,
p.adjust.method="bonferroni")