我想知道如何改变Tukey HSD图的轴,这样我就可以缩短单词,使每个比较合适,而不是看起来很荒谬.
如果你可以帮我修改轴标签,字体大小和颜色的代码,那将会很有帮助.
在情节中有相当多的比较,所以我想通过改变它们的颜色来使重要的(比较间隔不在"0"线上)更突出.
`Gastropods = read.csv(file = "MaroubraZones.csv", header = TRUE)
boxplot(Abundance ~ Zone*Species,data = Gastropods, names = c("A.high", "A.mid", "A.low", "C.high", "C.mid", "C.low", "N.high", "N.mid", "N.low"))
Gastropods.ANOVA = aov(Abundance ~ Zone * Species, data = Gastropods)
hist(Gastropods.ANOVA$residuals)
plot(Gastropods.ANOVA)
Gastropods$LOGAbundance = log10(Gastropods$Abundance + 1)
Gastropods$SQRTAbundance = sqrt(Gastropods$Abundance + 1)
summary(Gastropods.ANOVA)
summary(Gastropods$SQRTAbundance.ANOVA)
interaction.plot(Gastropods$Zone, Gastropods$Species, Gastropods$Abundance, main= "Gastropod Interaction Plot", xlab = "Gastropod Zone", ylab= "Mean of Gastropod Abundance",legend = FALSE))
interaction.plot(Gastropods$Zone, Gastropods$Species, Gastropods$Abundance, main= "Gastropod Interaction Plot", xlab = "Gastropod …
Run Code Online (Sandbox Code Playgroud)