I'm having trouble generating a compact letter display for my results. I've run an ANOVA followed by Tukey's HSD to generate the p values for each pair, but I do not know how (or if it is possible?) to assign letters to these p values to show which pairs are significant from each other.
csa.anova<-aov(rate~temp*light,data=csa.per.chl)
summary(csa.anova)
TukeyHSD(csa.anova)
This runs the tests I need, but I don't know how to assign letters to each p value to show which pairs are significant.
dput(head(csa.per.chl, 20))
. What are the letters you want to assign to what ranges of p-values? Say,A: 0.00-0.05
, etc? What, exactly? Edit the question with that information, please. – Rui Barradasm <- mtcars m$cyl <- as.factor(m$cyl); m$gear <- as.factor(m$gear) m.anova<-aov(mpg~cyl*gear,data=m) summary(m.anova) TukeyHSD(m.anova)
– Monk