soccer_half_pitch: Half of the pitch is located on each side of the halfway line...

View source: R/features-soccer.R

soccer_half_pitchR Documentation

Half of the pitch is located on each side of the halfway line (see soccer_halfway_line() for more information)

Description

Half of the pitch is located on each side of the halfway line (see soccer_halfway_line() for more information)

Usage

soccer_half_pitch(pitch_length = 0, pitch_width = 0)

Arguments

pitch_length

The length of the pitch

pitch_width

The width of the pitch

Value

A data frame containing the bounding coordinates of the half of the pitch


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