View source: R/compare_contour.R
compare_contour | R Documentation |
Constructs filled contour graphs of one more Statcast datasets
compare_contour(df, L = 0.5, type = "ms", Ncol = 2, etitle = "")
df |
list of data frames containing Statcast datasets |
L |
vector of contour levels |
type |
abbreviation for variable to be graphed |
Ncol |
number of columns in faceted display |
etitle |
additional text to add to title of graph |
Constructs 2 x 2 grid of filled contour plots of the variable (choices for type are called strike ("cs"), swing ("sw"), make contact on swing ("mc"), miss swing ("ms"), hit ("h"), home run ("hr"), launch angle ("la"), launch speed ("ls"), and spray angle ("sa"))
Jim Albert
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.