View source: R/features-soccer.R
soccer_goal_box | R Documentation |
The goal box is the smaller of the two boxes that extend from the goal line The goal box is usually 5.5 meters (6 yards) from the goal line, but may be parameterized via this function
soccer_goal_box(
feature_thickness = 0,
box_length = 0,
goal_width = 0,
goal_post_to_box_edge = 0
)
feature_thickness |
The thickness of the goal box |
box_length |
The length of the goal box (from the goal line) |
goal_width |
The interior width of the goal |
goal_post_to_box_edge |
The distance from the interior of the goal post to the outer edge of the goal box |
The line thickness will be uniform for all features on the pitch
A data frame containing the bounding coordinates of the goal box
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.