This dataset, mlb_teams_2019, is a data frame containing season-level team statistics for Major League Baseball teams during the 2019 season. It includes information on league affiliation, wins, and offensive statistics such as runs, hits, home runs, RBI, stolen bases, walks, strikeouts, and batting average.
Usage
data(mlb_teams_2019)Format
A data frame with 30 observations and 14 variables:
- Team
Factor w/ 30 levels indicating the name of the MLB team
- League
Factor w/ 2 levels indicating the league the team belongs to (American or National)
- Wins
Integer vector indicating the number of games won by the team
- Runs
Integer vector indicating the total number of runs scored by the team
- Hits
Integer vector indicating the total number of hits by the team
- Doubles
Integer vector indicating the total number of doubles hit by the team
- Triples
Integer vector indicating the total number of triples hit by the team
- HomeRuns
Integer vector indicating the total number of home runs hit by the team
- RBI
Integer vector indicating the total number of runs batted in by the team
- StolenBases
Integer vector indicating the total number of stolen bases by the team
- CaughtStealing
Integer vector indicating the total number of times the team was caught stealing
- Walks
Integer vector indicating the total number of walks drawn by the team
- Strikeouts
Integer vector indicating the total number of strikeouts by the team
- BattingAvg
Numeric vector indicating the team's overall batting average
