lacrosse_center_line: The center line divides the field of play into two equal...

View source: R/features-lacrosse.R

lacrosse_center_lineR Documentation

The center line divides the field of play into two equal halves, which are generated via lacrosse_offensive_zone(), lacrosse_defensive_zone(), and lacrosse_neutral_zone(). This line may not stretch the entire width of the field, so a parameter is created instead

Description

The center line divides the field of play into two equal halves, which are generated via lacrosse_offensive_zone(), lacrosse_defensive_zone(), and lacrosse_neutral_zone(). This line may not stretch the entire width of the field, so a parameter is created instead

Usage

lacrosse_center_line(center_line_width = 0, line_thickness = 0)

Arguments

center_line_width

The width of the center line (distance in y)

line_thickness

The thickness of the center line

Value

A data frame containing the bounding coordinates of the center line


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