A wild R package appears! Pokemon/Gameboy inspired plots in R
Por um escritor misterioso
Last updated 01 setembro 2024
![A wild R package appears! Pokemon/Gameboy inspired plots in R](http://blog.schochastics.net/post/a-wild-r-package-appears_files/figure-html/effectiveness-chart-1.png)
I have to comute quite long every day and I always try to keep occupied with little projects. One of my first projects was to increase my knowledge on how to create R packages. The result of it is Rokemon, a Pokemon/Game Boy inspired package. In this post, I will briefly introduce some functionalities of the package and illustrate how incredible useful it can be. A similar introduction can also be found on github. The package is only available via github so far. #install.packages(devtools) devtools::install_github("schochastics/Rokemon") #used packages library(Rokemon) library(tidyverse) # for data wrangling The Package comes with a dataset on 801 pokemon with a rich set of attributes. data(pokemon) glimpse(pokemon) ## Observations: 801 ## Variables: 41 ## $ pokedex_number 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1 ## $ name "Bulbasaur", "Ivysaur", "Venusaur", "Charman ## $ japanese_name "Fushigidaneフシギダネ", "Fushigisouフシギソウ", "Fush ## $ type1 "grass", "grass", "grass", "fire", "fire", " ## $ type2 "poison", "poison", "poison", NA, NA, "flyin ## $ classfication "Seed Pokémon", "Seed Pokémon", "Seed Pokémo ## $ height_m 0.7, 1.0, 2.0, 0.6, 1.1, 1.7, 0.5, 1.0, 1.6, ## $ weight_kg 6.9, 13.0, 100.0, 8.5, 19.0, 90.5, 9.0, 22.5 ## $ generation 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ## $ is_legendary 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ## $ attack 49, 62, 100, 52, 64, 104, 48, 63, 103, 30, 2 ## $ defense 49, 63, 123, 43, 58, 78, 65, 80, 120, 35, 55 ## $ hp 45, 60, 80, 39, 58, 78, 44, 59, 79, 45, 50, ## $ speed 45, 60, 80, 65, 80, 100, 43, 58, 78, 45, 30, ## $ sp_attack 65, 80, 122, 60, 80, 159, 50, 65, 135, 20, 2 ## $ sp_defense 65, 80, 120, 50, 65, 115, 64, 80, 115, 20, 2 ## $ base_total 318, 405, 625, 309, 405, 634, 314, 405, 630, ## $ abilities [, % summarise_at(vars(attack:speed),mean) %>% gather(stat,value,attack:speed) %>% ggplot(aes(x=type1,y=value,fill=type1))+ geom_col()+ scale_fill_poketype(name="")+ facet_wrap(~stat)+ theme_gameboy()+ guides(fill = guide_legend(ncol = 9))+ theme(axis.text.x = element_blank(), axis.ticks.x= element_blank())+ labs(x="",y="") The package includes some more functions and color palettes. To use them, checkout the README of the github repo.
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://upload.wikimedia.org/wikipedia/en/b/be/PokemonRubySapphireBox.jpg)
Pokémon Ruby and Sapphire - Wikipedia
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://archives.bulbagarden.net/media/upload/9/95/Yellow_EN_boxart.png)
Pokémon Yellow Version - Bulbapedia, the community-driven Pokémon
Pokemon Fire Red Rocket Edition Coin Case
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://images.nintendolife.com/0ae752faeec4a/1280x720.jpg)
Game Freak Had Plans For 65,535 Versions Of The Original Pokémon
All-new maps and challenge offer players a whole new experience, with the same old action and excitement Use your shooting and jumping abilities to
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://m.media-amazon.com/images/W/MEDIAX_792452-T2/images/I/915j-xhc4wL.jpg)
Metroid: Zero Mission
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://www.indiewire.com/wp-content/uploads/2023/11/Best-Animated-TV-Shows.png)
The Best Animated Series of All-Time, Ranked — Cartoons, Anime, TV
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://images.nintendolife.com/4bb497696cd37/1280x720.jpg)
Soapbox: Is The Best Harry Potter Game On Game Boy Color? Quite
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://i.ebayimg.com/images/g/hY0AAOSw3PJjMOZF/s-l1600.jpg)
Ultimate Pokémon Ruby GBA - All Shiny (Legal) , Max Items
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://miro.medium.com/v2/resize:fit:640/1*23iZ3yyPr4yX34ms_PfTvA.png)
The Pokémon Effect — The numbers and effects behind the massively
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://preview.redd.it/pok%C3%A9mon-emerald-blindlocke-on-cartridge-a-48-hour-journey-v0-fp6t3ymyi7tb1.jpg?width=640&crop=smart&auto=webp&s=104cb59c6eecfda1998af9366325d929490d166c)
Pokémon Emerald Blindlocke on Cartridge, a 48-Hour Journey : r
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://preview.redd.it/first-time-switch-buyer-last-time-i-owned-a-nintendo-v0-xexzqg1ny69b1.jpg?width=640&crop=smart&auto=webp&s=168e767f2cdde7fb0656d570af2beae89aa9de74)
First time Switch buyer. Last time I owned a Nintendo product was
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://upload.wikimedia.org/wikipedia/commons/thumb/9/98/International_Pok%C3%A9mon_logo.svg/1200px-International_Pok%C3%A9mon_logo.svg.png)
Pokémon - Wikipedia
Recomendado para você
-
Pokémon type chart – strengths, weaknesses, and typings explained01 setembro 2024
-
Pokémon type chart: weaknesses, strengths, resistances01 setembro 2024
-
Pokémon Legends: Arceus - Guide To Matchups & Weaknesses01 setembro 2024
-
New Type Chart & colors Pokemon GO Wiki - GamePress01 setembro 2024
-
Pokémon Ga-Olé official website01 setembro 2024
-
Type Chart “All in One Simplified” : r/TheSilphRoad01 setembro 2024
-
Turtonator (Pokémon Ga-Olé Get Campaign) - Bulbapedia, the01 setembro 2024
-
Pokémon Gaole - How to use Sequence List Part 201 setembro 2024
-
Pokémon Ga-Olé - Dash Set 101 setembro 2024
-
Pokémon type chart Strengths, weaknesses and effectiveness of01 setembro 2024
você pode gostar
-
Stanley Adventure Quencher 40oz Travel Tumbler VS Quencher H2.001 setembro 2024
-
ab6c8522e9736fa2f0bbda03d98ae73d1b4d72af.png01 setembro 2024
-
Stream Dragon Ball GT Encerramento Completo em Português - Estarei01 setembro 2024
-
Zac Efron's Perfect Bulk: How You Can Achieve Star's Crazy Body01 setembro 2024
-
World's Greatest01 setembro 2024
-
Não é minha culpa que não sou popular!: Resenha - Gakusen Toshi01 setembro 2024
-
PARTY DISCORD SERVER [EU] Genshin Impact01 setembro 2024
-
Draw A Stickman: Episode 2 Pro on the App Store01 setembro 2024
-
The movie Ben 10: Alien Swarm premiered 14 years ago, today! Which is your favorite Ben 10 alien? • • • • • #ben10movie #ben10post…01 setembro 2024
-
Ace of Diamond Season 4: Current Status, Release Date & Everything We Know » Amazfeed01 setembro 2024