View source: R/features-soccer.R
soccer_goal | R Documentation |
The goal is located beyond each goal line. By rule, the goal posts must be the same thickness as the goal line, and the posts must rest on the front edge of the goal line
soccer_goal(feature_thickness = 0, goal_width = 0, goal_depth = 0)
feature_thickness |
The thickness of the goal |
goal_width |
The interior width of the goal |
goal_depth |
The depth to which the goal protrudes away from the back edge 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 goal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.