Pokemon | R Documentation |
This is a data set containing information of 721 types of Pokémon, fictional creatures from a video game series. For each Pokémon their stats, the type of the Pokémon, and if it is categorized as legendary or not are registered.
Pokemon
A data frame with 721 observations (rows) and 12 variables (columns).
Column name | Data type | Description | Values | |
[,1] | number | factor | Each Pokémon is assigned a unique ID | (1... 721) |
[,2] | name | character | The name of the Pokémon | ("Bulbasaur"..."Volcanion") |
[,3] | type1 | factor | 18 different main types | (Bug...Water) |
[,4] | type2 | factor | 19 different additional types | (Bug...Water) |
[,5] | hp | integer | Hit points describing the Pokémon's health | (1 - 255) |
[,6] | attack | integer | Attach strength for normal attacks | (5 - 165) |
[,7] | defense | integer | Defence strength against normal attacks | (5 - 230) |
[,8] | sp.atk | integer | Strength for special attack | (10 - 154) |
[,9] | sp.def | integer | Damage resistance against special attacks | (20 - 230) |
[,10] | speed | integer | Attack speed | (5 - 160) |
[,11] | generation | factor | 6 generations of Pokémons | (1...6) |
[,12] | legendary | numeric | 1 if the Pokémon is legendary | (0, 1) |
The type columns, type1
and type2
, refer to different elemental
properties associated with both the Pokémon and the moves (attack).
type1
: Each Pokémon has a type, this determines
weakness/resistance to attacks
type2
: Some of the Pokémons are dual type and have an
additional type
For all the stats variables (hp
, attack
, defense
,
sp.atk
, sp.def
, speed
) high values are better than low
values. The hit points, hp
, defines how much damage the Pokémon can
receive before fainting.
This data was used in the Exam STAT200, May 2022.
The data is from kaggle.
# A short summary of the variables
summary(Pokemon)
# Scatterplot matrix of some of the variables
pairs(Pokemon[, c( "hp", "attack", "defense", "speed")])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.