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


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