plot_mins_dist | R Documentation |
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
plot_mins_dist(
play_by_play_data = NA,
team = NA,
threshold = NA,
split_position = F
)
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() |
ggplot object containing minutes distribution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.