boxplot(emission ~ company, data = Monoxide, col = topo.colors(2))
t.test(emission ~ company, data = Monoxide)
wilcox.test(emission ~ company, data = Monoxide)
if (FALSE) {
library(ggplot2)
ggplot2::ggplot(data = Monoxide, aes(x = company, y = emission)) +
geom_boxplot() +
theme_bw()
}
Run the code above in your browser using DataLab