soccer_goal_line: The goal line is the line that runs the full width of the...

View source: R/features-soccer.R

soccer_goal_lineR Documentation

The goal line is the line that runs the full width of the pitch. The ball must completely cross the goal line to score a goal for the attacking team

Description

The line thickness will be uniform for all features on the pitch

Usage

soccer_goal_line(pitch_width = 0, feature_thickness = 0)

Arguments

pitch_width

The width of the pitch

feature_thickness

The thickness of the goal line

Value

A data frame containing the bounding coordinates of the goal line


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