Pokemon-Attack-R-Analysis

Pokémon Attack Analysis

An exploratory analysis of Pokémon “Attack” values using a dataset of 1,008 Pokémon. This project computes summary statistics, visualizes the distribution and sampling behavior of the Attack stat, and evaluates normality assumptions.

Table of Contents

  1. Project Overview
  2. Features & Outputs
  3. Prerequisites
  4. Installation
  5. Usage
  6. Script Breakdown
  7. Interpreting the Results
  8. Extending & Customizing
  9. Data Source & Citations
  10. License

Project Overview

This analysis focuses on the “Attack” statistic from a Pokémon dataset (pokemon.csv, 1,008 entries). We:

All code is contained in Pokemon_Attack_Analysis.R, and the key visualizations are saved as attack-population.png and attack-sample.png.


Features & Outputs


Prerequisites

R Packages

The analysis script will auto-install any missing packages.


Installation

  1. Clone this repository:
    git clone https://github.com/yourusername/pokemon-attack-analysis.git
    cd pokemon-attack-analysis
    
  2. Place pokemon.csv (the full Pokémon dataset) in the project root.

No further build steps are needed.


Usage

  1. Open R or RStudio, set the working directory to the project folder:

    setwd("path/to/pokemon-attack-analysis")
    
  2. Run the analysis script:

    source("Pokemon_Attack_Analysis.R")
    
  3. View the two plots and console output:

    • attack-population.png
    • attack-sample.png And review the printed summary statistics and counts.

Script Breakdown


Interpreting the Results


Extending & Customizing


Data Source & Citations


License

This project is released under the MIT License. See LICENSE for full details.