Description Usage Arguments Value Examples
Compute the Run Expectancy at the beginning and end of every play in a data frame, as well as their difference (RE24).
1 | makeWARre24(data, mod.re = NULL, ...)
|
data |
A |
mod.re |
an |
... |
currently ignored |
a data frame with three columns: startExR
, endExR
, and
delta
. The latter is the change in run expectancy.
1 2 3 4 5 | Maymod.re = getModelRunExpectancy(May)
re24 <- makeWARre24(May14)
re24full <- makeWARre24(May14, mod.re = Maymod.re)
sum(re24$delta)
sum(re24full$delta)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.