Created
July 27, 2018 17:24
-
-
Save jenniferthompson/cd49fd63134750de6b658698b93842e6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(ggplot2) | |
ggplot( | |
data = subset( | |
diamonds, cut %in% c("Fair", "Good") & | |
color %in% LETTERS[4:5] | |
), | |
aes(x = carat, y = price) | |
) + | |
facet_wrap(~ cut + color, nrow = 1) + | |
geom_point() | |
## How to make it clearer that Fair and Good are grouped? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment