Baseball | R Documentation |
Baseball data.
data("Baseball")
A data frame with 322 observations and 25 variables.
player's first name.
player's last name.
times at Bat: number of official plate appearances by a hitter. It counts as an official at-bat as long as the batter does not walk, sacrifice, get hit by a pitch or reach base due to catcher's interference.
hits.
home runs.
the number of runs scored by a player. A run is scored by an offensive player who advances from batter to runner and touches first, second, third and home base in that order without being put out.
Runs Batted In: A hitter earns a run batted in when he drives in a run via a hit, walk, sacrifice (bunt or fly) fielder's choice, hit-batsman or on an error (when the official scorer rules that the run would have scored anyway).
A “walk” (or “base on balls”) is an award of first base granted to a batter who receives four pitches outside the strike zone.
Years in the Major Leagues. Seems to count all years a player has actually played in the Major Leagues, not necessarily consecutive.
career times at bat.
career hits.
career home runs.
career runs.
career runs batted in.
career walks.
player's league.
player's division.
player's team.
player's position (see Hitters
).
number of putouts (see Hitters
)
number of assists (see Hitters
)
number of assists (see Hitters
)
annual salary on opening day (in USD 1000).
league in 1987.
team in 1987.
SAS System for Statistical Graphics, First Edition, page A2.3
M. Friendly (2000), Visualizing Categorical Data. SAS Institute, Cary, NC.
Hitters
data("Baseball")