View source: R/features-hockey.R
hockey_goaltenders_restricted_area | R Documentation |
NOTE: This is not a requirement in all leagues, and may be omitted via the
"has_trapezoid" key in the rink_params
passed to geom_{league}
hockey_goaltenders_restricted_area(
rink_length = 0,
feature_thickness = 0,
short_base_width = 0,
long_base_width = 0,
x_anchor = 0
)
rink_length |
The length of the rink |
feature_thickness |
The thickness of the lines used to draw the goaltender's restricted area |
short_base_width |
The width of the base nearest the center line |
long_base_width |
The width of the base nearest the boards behind the goal |
x_anchor |
the |
This draws the goaltender's restricted area on the right side (in TV view) of the ice surface. The figure is composed of lines that outline a trapezoid in shape, and is usually red in color
A data frame containing the bounding coordinates of the goaltender's restricted area
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.