swing_contour: Swing Contour Plot

View source: R/swing_contour.R

swing_contourR Documentation

Swing Contour Plot

Description

Constructs swing contour plot

Usage

  swing_contour(df, L = seq(0, 1, by = 0.1), title = "Probability of Swing", NCOL = 2)

Arguments

df

data frame or list containing Statcast data

L

values for contour lines

title

title of the graph

NCOL

number of columns in multipanel display

Value

Constructs a contour plot of the swing probability

Author(s)

Jim Albert


bayesball/CalledStrike documentation built on April 29, 2024, 6:21 p.m.