strike_gam_fit: Implements generalized additive fit for called pitch data

View source: R/strike_gam_fit.R

strike_gam_fitR Documentation

Implements generalized additive fit for called pitch data

Description

Implements generalized additive fit where logit(prob(Strike)) = s(plate_x, plate_z)

Usage

  strike_gam_fit(d)

Arguments

d

Statcast data frame with variables Strike, plate_x, plate_z

Value

gam object containing the generalized additive fit

Author(s)

Jim Albert


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