Learn R Programming

Sabermetrics (version 2.0)

linearWeights: Linear Weights Dataset

Description

This is a dataset containing useful yearly metrics from FanGraphs.

Usage

linearWeights

Arguments

Format

A data frame with seasonal data going back to 1871. Contains 14 variables.
Season
1871-Present
wOBA
Season Average wOBA
wOBAScale
Season wOBA Scaling Factor
wBB
Weight of an walk
wHBP
Weight of a hit by pitch
w1B
Weight of a single
w2B
Weight of a double
w3B
Weight of a triple
wHR
Weight of a home run
runSB
Weight of a stolen base
runCS
Weight of being caught stealing
RPerPA
Runs Per Plate Appearance
RPerW
Runs Per Win
cFIP
Season FIP constant

Source

http://www.fangraphs.com/guts.aspx?type=cn

Details

This dataset is useful for calculating season-dependent metrics such as wOBA and FIP.

References

http://www.fangraphs.com/

Examples

Run this code
## Give the last 5 years
head(linearWeights, 5)

Run the code above in your browser using DataLab