hockey_player_bench_outline: The player benches are the areas outside the confines of the...

View source: R/features-hockey.R

hockey_player_bench_outlineR Documentation

The player benches are the areas outside the confines of the rink where players not currently on the ice are seated. They are to be on the same side of the ice surface and separate, as close to center ice as possible

Description

This will have the same thickness as the boards, but will be located outside the ice surface. Each bench's outline will share the same color as the boards

Usage

hockey_player_bench_outline(
  feature_thickness = 0,
  bench_length = 0,
  bench_depth = 0
)

Arguments

feature_thickness

The thickness of the outline of the player bench areas

bench_length

The length of the player bench area

bench_depth

The depth of the player bench area

Value

A data frame containing the bounding coordinates of the player bench area


sportsdataverse/sportyR documentation built on Feb. 17, 2024, 9:44 p.m.