summarize_lineup_performance: Summarize the performance of each unique lineup in the...

View source: R/summarize_lineup_performance.R

summarize_lineup_performanceR Documentation

Summarize the performance of each unique lineup in the provided pbp data

Description

Summarize the performance of each unique lineup in the provided pbp data

Usage

summarize_lineup_performance(
  dat,
  minimum_minutes,
  round = 4,
  player_data = NULL,
  use_player_initials = FALSE
)

Arguments

dat

a tibble with play-by-play data

minimum_minutes

lineups with fewer minutes played that this will be excluded

round

round advanced stats to this many places

player_data

a tibble with msf player data, used to create lineup_ids. If not provided, player ids are left uninterpreted

use_player_initials

if TRUE (and if player_data provided) the lineup is shown as player initials + jersey number instead of last name

Value

a tibble with summary statistics for each unique lineup in the provided data

See Also

Other summarize_lineup: compare_lineups()


kburnham/tidynbadata documentation built on Aug. 7, 2024, 12:10 a.m.