A wild R package appears! Pokemon/Gameboy inspired plots in R
Descrição
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://i.redd.it/aw6lgw7c24w81.jpg)
Saw a bunch of absolutely ridiculous bootleg Pokémon games at an
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://images.timeextension.com/23ce76c29f036/game-boy-color.large.jpg)
Best Game Boy Color Games Of All Time
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://cdn.mos.cms.futurecdn.net/AW2V5RFWCArLoRcdZTz6h4-1200-80.jpg)
Best Nintendo Switch games for 2023
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://upload.wikimedia.org/wikipedia/en/f/f7/PokemonEmeraldBox.jpg)
Pokémon Emerald - Wikipedia
![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-gma15h8ny69b1.jpg?width=640&crop=smart&auto=webp&s=50290b3b73a8c5b61192531224b547c10401d420)
First time Switch buyer. Last time I owned a Nintendo product was
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://i.ebayimg.com/images/g/m6EAAOSwKpxkPM~U/s-l1200.webp)
Pokémon: Ruby Version (Game Boy Advance, 2003)
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://i.ebayimg.com/images/g/vp0AAOSwNmBlX-mN/s-l1200.webp)
Pokemon: Ruby Version Nintendo Game Boy Advance Authentic Saves
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://assets-prd.ignimgs.com/2023/03/30/legend-of-zelda-games-in-order-copy-1680206137898.jpg)
How to Play The Legend of Zelda Games in Chronological Order - IGN
![A wild R package appears! Pokemon/Gameboy inspired plots in R](https://miro.medium.com/v2/resize:fit:1326/0*KhL0jEJL-0wAnNre.png)
Data Visualization with Pokemon in R, by Gregory Lee
![A wild R package appears! Pokemon/Gameboy inspired plots in R](http://blog.schochastics.net/post/a-wild-r-package-appears_files/figure-html/theme-rocket-1.png)
A wild R package appears! Pokemon/Gameboy inspired plots in R
de
por adulto (o preço varia de acordo com o tamanho do grupo)