find_percentage_replacement_QB: Find replacement-level QBs based on the percentage of plays...

Description Usage Arguments Value Examples

Description

Find replacement-level QBs based on the percentage of plays cutoff

Usage

1
find_percentage_replacement_QB(qb_team_table, attempt_type, attempt_percent)

Arguments

qb_team_table

Data frame with QB attempts in relation to their team

attempt_type

String indicating which type of attempts to use from the table to use for the percent cutoff.

attempt_percent

Percentage of the given attempt_type for QBs on their team that serves as a cutoff for replacement level.

Value

Vector of Player_ID_Name values indicating the replacement level QBs given the inputs.

Examples

1
2
# Find the replacement level QBs based on 10% cutoff for Total_Plays:
replacement_QBs <- find_percentage_replacement_QB(model_data_list, "Total_Plays", .1)

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