This repository analyzes Pokémon battle statistics, including:
- Assess whether Pokémon tend to be stronger in attack-oriented or defense-oriented statistics across Pokémon types (Aim 1)
- Determine whether dual-type Pokémon have higher overall battle-related statistics compared to single-type Pokémon (Aim 2)
- Restore the exact package versions used in this analysis:
make install - Build the report:
make project_3.html
data/— Raw Pokémon dataset (Pokemon.csv)code/— R scripts:01_data_cleaning.R— Cleans the Pokémon dataset02_aim1_analysis.R— Generates the table for Aim 1 (output/aim1.rds)03_aim2_analysis.R— Generates the figure for Aim 2 (output/aim2.png)04_render_report.R— Rendersproject_3.Rmdintoproject_3.html
output/— Generated outputs:aim1.rds(table),aim2.png(figure)project_3.Rmd— R Markdown report combining Aims 1 and 2Makefile— Automates building outputs and the reportrenv/— renv project environment files (activate.R,settings.json,.gitignore)renv.lock— Lock file listing exact package versions.Rprofile— Project R profile for renv