Created
November 27, 2015 15:10
-
-
Save dill/ef79cdd21bf3a1977641 to your computer and use it in GitHub Desktop.
categorical emojis -- like this Mark?
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(emoGG) | |
library(ggplot2) | |
# set the am variable to be different emoji | |
mtcars$am[mtcars$am==1] <- "1f697" | |
mtcars$am[mtcars$am==0] <- "1f68c" | |
# use am as the emoji aesthetic | |
ggplot(mtcars, aes(wt, mpg, emoji=am))+ geom_emoji() |
Author
dill
commented
Nov 27, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment