annotate_pogo: Pokemon Go Team Logos

Description Usage Arguments References Examples

View source: R/theme_gameboy.R

Description

Enhance your plots with a background picture of your favorite Pokemon Go team.

Usage

1
annotate_pogo(team = "mystic", opacity = 0.5)

Arguments

team

string. either 'mystic', 'valor' or 'instinct'

opacity

opacity of team logo.

References

The logos were not designed by me. All credit goes to this guy.

Examples

 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)

schochastics/Rokemon documentation built on Jan. 16, 2022, 2:52 a.m.