prepare_model_data: Filter the Play-by-Play Data to Data for Modeling

Description Usage Arguments Value Examples

Description

Filter the Play-by-Play Data to Data for Modeling

Usage

1

Arguments

pbp_df

Play-by-play data frame.

Value

List of two data frames: (1) passing play-by-play data, and (2) rushing play-by-play data that has been filtered to only include plays used for modeling.

Examples

1
2
# Create list of model data:
model_data_list <- pbp_df %>% prepare_model_data()

ryurko/nflWAR documentation built on May 9, 2019, 7:37 a.m.