View source: R/location_count_compare.R
location_count_compare | R Documentation |
Graphs the pitch locations for a specific pitcher for several values of the count
location_count_compare(d, Pitcher = pitch_id, name = "", side = "R", ptype = "Fastball", count_v = "0-0", NCOL = 2)
d |
data frame containing Statcast data |
Pitcher |
MLBAM id for the pitcher |
name |
Name of the pitcher |
side |
Batting side, either "R" or "L" |
ptype |
Type of pitch, either "Fastball" or "Off-Speed" |
count_v |
Vector of count values of interest |
Constructs bivariate density estimates of the pitch location across the group of selected counts
Jim Albert
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.