R/baseball.R

#' @name baseball
#' @title Baseball Hitter Data
#' @docType data
#' @description Major League Baseball Data from the 1986 and 1987 seasons
#' @format Data frame with 322 rows and 22 columns
#' \describe{
#' \item{AtBat}{Number of times at bat in 1986}
#' \item{Hits}{Number of hits in 1986}
#' \item{HmRun}{Number of home runs in 1986}
#' \item{Runs}{Number of runs in 1986}
#' \item{RBI}{Number of runs batted in in 1986}
#' \item{Walks}{Number of walks in 1986}
#' \item{Years}{Number of years in the major leagues}
#' \item{CAtBat}{Number of times at bat during his career}
#' \item{CHits}{Number of hits during his career}
#' \item{CHmRun}{Number of home runs during his career}
#' \item{CRuns}{Number of runs during his career}
#' \item{CRBI}{Number of runs batted in during his career}
#' \item{CWalks}{Number of walks during his career}
#' \item{League}{A factor with levels A and N indicating player's league at the end of 1986}
#' \item{Division}{A factor with levels E and W indicating player's division at the end of 1986}
#' \item{PutOuts}{Number of put outs in 1986}
#' \item{Assists}{Number of assists in 1986}
#' \item{Errors}{Number of errors in 1986}
#' \item{Salary}{1987 annual salary on opening day in thousands of dollars}
#' \item{NewLeague}{A factor with levels A and N indicating player
#' league at the beginning of 1987}
#' }
#' @keywords dataset
#'
NULL

Try the quokar package in your browser

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

quokar documentation built on May 2, 2019, 6:39 a.m.