mlb_diffs: Differences between leagues in Major League Baseball

mlb_diffsR Documentation

Differences between leagues in Major League Baseball

Description

The difference in various statistics between the American League and the National League from 1925 to 2023. Statistics include:

  • PA: The total number of plate appearances

  • hr_rate_diff: The difference in home runs per plate appearance

  • bavg_dff: The difference in batting average

  • obp_diff: The difference in on-base percentage

  • slg_diff: The difference in slugging percentage

Usage

mlb_diffs

Format

An object of class tbl_ts (inherits from tbl_df, tbl, data.frame) with 99 rows and 6 columns.

Source

The Lahman package


tidychangepoint documentation built on April 4, 2025, 4:31 a.m.