ehit_contour: Expected Hit Contour Plot

View source: R/ehit_contour.R

ehit_contourR Documentation

Expected Hit Contour Plot

Description

Constructs expected hit contour plot for a specific player based on launch speed and launch angle

Usage

  ehit_contour(df, L = seq(0, 1, by = 0.02), title = "Expected Batting Average", 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 expected hit probability

Author(s)

Jim Albert


bayesball/CalledStrike documentation built on March 28, 2022, 12:12 p.m.