makePointsVar: Create home and away points variables

View source: R/extractPbp.R

makePointsVarR Documentation

Create home and away points variables

Description

Helper function to create points variables. Used to add these variables to output data frame in extract_pbp().

Usage

makePointsVar(df)

Arguments

df

A data frame of play-by-play data

Value

A data frame with home and away points for each action of pbp


ponelplay/test documentation built on April 14, 2022, 12:43 a.m.