mvt_game: Given game play-by-play data, returns finite time average...

View source: R/mvt_game.R

mvt_gameR Documentation

Given game play-by-play data, returns finite time average point differential (i.e., time_avg_lead) for regulation time

Description

Given game play-by-play data, returns finite time average point differential (i.e., time_avg_lead) for regulation time

Usage

mvt_game(game_pbp, team)

Arguments

game_pbp

a play-by-play data file via nflfastR

team

a team of interest

Value

a data frame containing game info and time average lead for regulation


caseycaprini/nfltools documentation built on Oct. 11, 2023, 7:58 p.m.