knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

PokemonAnalyse

The goal of PokemonAnalyse is to make analysing the "Pokemon" dataset easier

Installation

You can install the development version of PokemonAnalyse from GitHub with:

# install.packages("devtools")
devtools::install_github("PedroDeBos/PokemonAnalyse")

Functions

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")

Credits

Pokemon database was taken from Rounak Banik's kaggle.com under the CC0 license

Functions were written by Pedro de Bos



PedroDeBos/PokemonAnalyse documentation built on June 12, 2022, 1:48 a.m.