View source: R/features-soccer.R
soccer_halfway_line | R 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
soccer_halfway_line(pitch_width = 0, feature_thickness = 0)
pitch_width |
The width of the pitch |
feature_thickness |
The thickness of the goal line |
The line thickness will be uniform for all features on the pitch
A data frame containing the bounding coordinates of the halfway line
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.