Add expected yards after completion (xyac) variables
add_xyac(pbp, ...)
The input Data Frame of the parameter 'pbp' with the following columns added:
Expected value of EPA gained after the catch, starting from where the catch was made. Zero yards after the catch would be listed as zero EPA.
Probability play earns positive EPA (relative to where play started) based on where ball was caught.
Probability play earns a first down based on where the ball was caught.
Average expected yards after the catch based on where the ball was caught.
Median expected yards after the catch based on where the ball was caught.
is a Data frame of play-by-play data scraped using fast_scraper()
.
Additional arguments passed to a message function (for internal use).
Build columns that capture what we should expect after the catch.