ewoba_gam_fit: Implements generalized additive fit for expected wOBA data

View source: R/ewoba_gam_fit.R

ewoba_gam_fitR Documentation

Implements generalized additive fit for expected wOBA data

Description

Implements generalized additive fit where expected wOBA = s(plate_x, plate_z)

Usage

  ewoba_gam_fit(d)

Arguments

d

Statcast data frame with variables launch_speed, 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.