plot_mins_dist: Minutes Distribution Plot

plot_mins_distR Documentation

Minutes Distribution Plot

Description

This function takes in play by play data and a team name and returns a plot showing the distributon of when each player was on the court

Usage

plot_mins_dist(
  play_by_play_data = NA,
  team = NA,
  threshold = NA,
  split_position = F
)

Arguments

team

a single team name

threshold

minimum minutes played to include in plot

pbp_data

a data frame of pbp created from get_play_by_play() / scrape_game()

Value

ggplot object containing minutes distribution


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