plot_duos: Duo Plot

plot_duosR Documentation

Duo Plot

Description

Creates network plot of team ratings with players together on the court Uses empirical bayesian formula to estimate ratings relative to team average: regressed ORTG = (n_bar*r_bar_o + PTS) / (n_bar + POSS) n_bar = average possessions per lineup + regressed possessions r_bar_o = team offensive rating (PTS/POSS)*100

Usage

plot_duos(Lineup_Data = NA, team = NA, min_mins = 0, regressed_poss = 50)

Arguments

team

a single team name

min_mins

minimum number of minutes required for duo to play together

regressed_poss

effectively number of team average possessions used to "shrink" ratings

lineup_data

a data frame of lineups created from get_lineups()

Value

ggplot object of network plot


jflancer/bigballR documentation built on March 1, 2025, 3:57 a.m.