lacrosse_penalty_box_fill: The penalty boxes are the areas outside the confines of the...

View source: R/features-lacrosse.R

lacrosse_penalty_box_fillR Documentation

The penalty boxes are the areas outside the confines of the field where players serve time for a penalty incurred. They are to be on the same side of the field surface and separate, as close to center field as possible, for each team. This will not include the off-field officials' box; see lacrosse_off_field_officials_box() for more information

Description

This will have the same thickness as the boards, but will be located outside the field surface

Usage

lacrosse_penalty_box_fill(
  penalty_box_outline_thickness = 0,
  penalty_box_length = 0,
  penalty_box_depth = 0
)

Arguments

penalty_box_outline_thickness

The thickness of the outline of the penalty box

penalty_box_length

The length of the penalty box

penalty_box_depth

The depth at which the penalty box extends from the outer edge of the boards

Value

A data frame containing the bounding coordinates of the penalty box's inner filling


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