R/batting_avg_2021.R

#' Batting Averages 2021
#'
#' Batting data for all Major League players with at least 300 at-bats for the 2021 season.
#' Data is from the Lahman database available through the Lahman package.
#'
#' @format 231 obs. of 5 variables:
#' \describe{
#' \item{Player}{Name of player}
#' \item{lgID}{League}
#' \item{H}{Hits}
#' \item{AB}{At bats}
#' \item{AVG}{Batting average}
#' }
#'
"batting_avg_2021"

Try the RbyExample package in your browser

Any scripts or data that you put into this service are public.

RbyExample documentation built on May 29, 2024, 5:50 a.m.