first_down_rates: Find the mean 1st down success rate at a given point in the...

Description Usage Arguments Value

Description

Find the mean 1st down success rate at a given point in the field.

Usage

1
first_down_rates(df_plays, yfog)

Arguments

df_plays

Play by play data frame

yfog

String, must be 'yfog' or 'yfog_bin'. If yfog, use the actual yards from own goal. If yfog_bin, use the decile of the field instead.

Value

data_frame


bensoltoff/rnflstats documentation built on May 12, 2019, 2:08 p.m.