discrete_va_plot: Discrete plot for StatCast data

Description Usage Arguments Author(s) Examples

Description

Graphs Statcast data for different categories of fitted hit probability or linear weights.

Usage

1
discrete_va_plot(df, br=seq(0, 1, length.out=10), pal="YlOrBr", method="hit")

Arguments

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")

Author(s)

Jim Albert

Examples

1

bayesball/mystatcast documentation built on May 11, 2019, 9:23 p.m.