library(modeldata)
library(ggplot2)
View(scat)HW3
The Mass of each scat found by month and species
ggplot(scat,
aes(y=Mass, x=Month, colour = Species))+
geom_point()+
scale_fill_brewer(palette = "Dark2")Warning: Removed 1 row containing missing values or values outside the scale range
(`geom_point()`).
How many of each animal scat there was and where it was found
ggplot(scat,
aes(x=Species, fill = Location))+
geom_bar()+
scale_fill_brewer(palette = "Dark2")Range of lengths of scat for each species
ggplot(scat,
aes(x=Length,y=Species, fill = Species))+
geom_boxplot()+
scale_fill_brewer(palette = "Dark2")