soccer_halfway_line: The halfway line, aka the midfield line or center line, runs...

View source: R/features-soccer.R

soccer_halfway_lineR Documentation

The halfway line, aka the midfield line or center line, runs the width of the pitch, dividing it into two equal halves. The left half (in TV view) will be the defensive half, and the right half will be the offensive half

Description

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

Usage

soccer_halfway_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 halfway line


sportyR documentation built on May 29, 2024, 8:33 a.m.