Learn R Programming

nflfastR (version 2.2.1)

add_qb_epa: Compute QB epa

Description

Compute QB epa

Usage

add_qb_epa(d)

Arguments

d

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

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