home_run_contour: Home Run Contour Plot

View source: R/home_run_contour.R

home_run_contourR Documentation

Home Run Contour Plot

Description

Constructs home run contour plot for a specific player

Usage

  home_run_contour(df, L = seq(0.04, 0.24, by = 0.04), title, NCOL = 2)

Arguments

df

data frame or list containing Statcast data

L

values for the contour lines

title

title of the graph

NCOL

number of columns in multipanel display

Value

Constructs a contour plot of the home run probability

Author(s)

Jim Albert


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