Description Usage Details Value Examples
Retrieves rWAR from Baseball-Reference.com
1 | getrWAR()
|
Retrieves daily rWAR figures from Baseball-Reference.com and stores it as a data.frame
a data.frame consisting of rWAR
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Get data from yesterday
## Not run:
rWAR = getrWAR()
## End(Not run)
data(rWAR)
hist(rWAR$rWAR)
# Leaders since 1954
library(dplyr)
modern = filter(rWAR, yearId >= 1954)
head(arrange(modern, desc(rWAR)), 20)
# Relationship between batting and fielding
plot(modern$rRAA_bat, modern$rRAA_field, cex=0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.