I can do:
ggplot(mpg, aes(displ, hwy, colour = class)) +
geom_point()
Or I can separate classes using facets:
ggplot(mpg, aes(displ, hwy)) +
geom_point() +
facet_grid(~class)
But during the design of ggplot2, why was it decided that this wouldn't work?
ggplot(mpg, aes(displ, hwy, facet = class)) +
geom_point()