add_qb_epa: Compute QB epa

View source: R/helper_additional_functions.R

add_qb_epaR Documentation

Compute QB epa

Description

Compute QB epa

Usage

add_qb_epa(pbp, ...)

Arguments

pbp

is a Data frame of play-by-play data scraped using fast_scraper().

...

Additional arguments passed to a message function (for internal use).

Details

Add the variable 'qb_epa', which gives QB credit for EPA for up to the point where a receiver lost a fumble after a completed catch and makes EPA work more like passing yards on plays with fumbles


nflfastR documentation built on Nov. 10, 2022, 5:41 p.m.