Skip to content
Prev 308756 / 398503 Next

plotting multiple variables in 1 bar graph

Hi
Where is aggregate.plot from?
Something like

barplot(VADeaths, beside = TRUE,
        col = c("lightblue", "mistyrose", "lightcyan",
                "lavender", "cornsilk"),
        legend = rownames(VADeaths), ylim = c(0, 100))
title(main = "Death Rates in Virginia", font.main = 4)


or maybe you could try ggplot2

Regards
Petr