Boxplot for Group Comparison

A boxplot gives a quick visual comparison of treatment groups before formal ANOVA is carried out.

It is useful for checking whether treatment centers differ and whether the within-group spreads look roughly similar. In STA305, this is an exploratory step rather than the formal test itself.

R

boxplot(y ~ treatment, data = dat)