Description Usage Arguments Details Examples
This function determines and returns a list of players who are considered to be replacement level players.
1 | getReplacementPlayers(data, nteams = 30, ...)
|
data |
An object of class |
In the openWAR framework, we first define a specific number of players to be considered 'true' major league talent. This function returns a list of players who do not appear on the list of 'true' major league talent. The performances of the players on this list are used to estimate the value of a replacement level player for use in converting runs above average into runs above replacement and ultimately wins above replacement.
1 2 3 4 5 | ds = getData()
out = makeWAR(ds)
players = getWAR(out)
summary(out)
replacementIds = getReplacementPlayers(players)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.