Learn R Programming

sportyR (version 2.2.2)

basketball_team_bench_line: Players not in the game must stay within the team bench lines unless moving to the substitution area (see basketball_substitution_line() class)

Description

Players not in the game must stay within the team bench lines unless moving to the substitution area (see basketball_substitution_line() class)

Usage

basketball_team_bench_line(
  line_thickness = 0,
  extension = 0,
  drawn_direction = ""
)

Value

A data frame containing the bounding coordinates of the team bench line

Arguments

line_thickness

The thickness of the team bench line

extension

The extension of the team bench line out of the court

drawn_direction

A string indicating which way, in an un-rotated plot, the line should be drawn when looking at the plot in TV View