Description Usage Arguments Author(s) Examples
Graphs Statcast data for different categories of fitted hit probability or linear weights.
1 | discrete_va_plot(df, br=seq(0, 1, length.out=10), pal="YlOrBr", method="hit")
|
df |
data frame containing Statcast data |
br |
vector of breaks of probabilities or linear weights |
pal |
palette to use with ColorBrewer scale |
method |
response is hit/out ("hit") or linear weight ("lw") |
Jim Albert
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.