measure_meta_independence: Generate the Independence R-Squared Matrix for Given Metrics

Description Usage Arguments Value Examples

Description

Generate the Independence R-Squared Matrix for Given Metrics

Usage

1
measure_meta_independence(stat_seasons, attempt_col, min_attempts, stat_cols)

Arguments

stat_seasons

Data frame of statistics with the provided player_col, season_col, and stat_cols.

attempt_col

String indicating the name of the column to filter the data on.

min_attempts

Number of minimum of the attempt_col that a player must have to be included.

stat_cols

String vector of the statistics for which the independence matrix will be generated for.

Value

The independence R-squared matrix.

Examples

1
2
qb_independence <- measure_meta_independence(qb_seasons,
"Total_Plays", 100, c("total_WAR", "Comp_Perc", "Success_Rate"))

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