epa_fg_probs: Performs Field Goal adjustments for Expected Points model...

Description Usage Arguments

View source: R/create_epa.R

Description

Extracts raw game by game data.

Usage

1
2
3
4
5
6
epa_fg_probs(
  dat,
  current_probs,
  ep_model = cfbscrapR:::ep_model,
  fg_mod = cfbscrapR:::fg_model
)

Arguments

current_probs

(data.frame required): Expected Points (EP) model raw probability outputs from initial prediction

ep_model

(model, default cfbscrapR:::ep_model): FG Model to be used for prediction on field goal (FG) attempts in Play-by-Play data.frame

fg_mod

(model, default cfbscrapR:::fg_model): FG Model to be used for prediction on field goal (FG) attempts in Play-by-Play data.frame

df

(data.frame required): Clean Play-By-Play data.frame as can be pulled from cfb_pbp_dat()


saiemgilani/cfbscrapR documentation built on April 11, 2021, 4:57 p.m.