knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of PokemonAnalyse is to make analysing the "Pokemon" dataset easier
You can install the development version of PokemonAnalyse from GitHub with:
# install.packages("devtools") devtools::install_github("PedroDeBos/PokemonAnalyse")
This package includes 4 functions, which will all be shown including examples below. Important is that all functions rely on the pokemon's name being spelled with a capital letter
pokemon_legendary: States whether the selected pokemon is legendary or not
library(PokemonAnalyse) pokemon_legendary("Mewtwo") pokemon_legendary("Charizard")
pokemon_type: States the type(s) of the selected pokemon
pokemon_type("Groudon") pokemon_type("Gengar")
pokemon_stats: Gives a graph of the selected pokemon's stats
pokemon_stats("Alakazam")
pokemon_weakness: Gives a graph of the selected pokemon's weakness'
pokemon_weakness("Aggron")
Pokemon database was taken from Rounak Banik's kaggle.com under the CC0 license
Functions were written by Pedro de Bos
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.