View(PlantGrowth)
by(PlantGrowth$weight,PlantGrowth$group,shapiro.test)
anova1 <- aov(weight~group,data = PlantGrowth)
summary(anova1)
dcbj <- glht(anova1,linfct = mcp(group = "Tukey"), alternative = 'two.side')
summary(dcbj)
letter <- cld(object = dcbj,adjust = "Tukey",Letters = letters,alpha = 0.05)
letter
par(mar=c(3,5,5,1))
plot(letter)
联系客服