soccer_touchline: The lines that run the full length of the pitch are called...

View source: R/features-soccer.R

soccer_touchlineR Documentation

The lines that run the full length of the pitch are called the touchlines. In some cases, they may also be referred to as the sidelines, as they comprise the sides of the pitch

Description

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

Usage

soccer_touchline(pitch_length = 0, feature_thickness = 0)

Arguments

pitch_length

The length of the pitch

feature_thickness

The thickness of the touchline

Value

A data frame containing the bounding coordinates of the touchline


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