View source: R/strike_gam_fit.R
strike_gam_fit | R Documentation |
Implements generalized additive fit where logit(prob(Strike)) = s(plate_x, plate_z)
strike_gam_fit(d)
d |
Statcast data frame with variables Strike, plate_x, plate_z |
gam object containing the generalized additive fit
Jim Albert
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.