compute_pitch_values: Pitch Value Computation

View source: R/compute_pitch_values.R

compute_pitch_valuesR Documentation

Pitch Value Computation

Description

Computes pitch values for all pitches in a Statcast dataset

Usage

  compute_pitch_values(sc)

Arguments

sc

Statcast data frame

Value

Returns Statcast data frame with new variables Count, Runs.x, new_Count, Runs.y and Pitch_Value

Author(s)

Jim Albert


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