Description Usage Arguments References Examples
View source: R/theme_gameboy.R
Enhance your plots with a background picture of your favorite Pokemon Go team.
1 | annotate_pogo(team = "mystic", opacity = 0.5)
|
team |
string. either 'mystic', 'valor' or 'instinct' |
opacity |
opacity of team logo. |
The logos were not designed by me. All credit goes to this guy.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
library(tidyverse)
pokemon %>%
dplyr::filter(type1=="water") %>%
ggplot(aes(defense,attack))+
annotate_pogo(team = "mystic")+
geom_point()+
theme_mystic()+
labs(title="Team Mystic",subtitle="Water Pokemon")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.