install.packages('sportyR')
basketball_free_throw_lane_boundary()
for more information on the free
throw lane)basketball_court_apron()
for more information on the court apron)basketball_free_throw_circle()
basketball_basket_ring()
) is affixed. This will be drawn as a
rectangle on the court as the court is drawn from an aerial viewbasketball_three_point_line()
), then
any made basket (not including free throws) made from inside of the arc are
worth two points. The area inside of this arc is therefore referred to as two
point range, which this feature draws. This feature is enclosed by the
three-point line's outer edge and the baseline's inner edgecurling_tee_line()
)
and the centre line (see curling_centre_line()
)curling_centre_line()
). This function
draws one of the footholds of the hackx = 0
in TV viewbasketball_two_point_range()
for more information).curling_centre_line()
for more
information)basketball_substitution_line()
class)curling_centre_line()
for
more information)football_coaching_box_line()
for
more information on the coaching box line)football_field_border()
) may have a different color
along the red zone than it does along the rest of the field. This is not
always the case, but the feature is provided for convenienceggplot2
instance containing a football field for a
specified leagueggplot2
instance containing a curling sheet for a specified
leagueggplot2
instance containing a baseball field for a
specified leagueggplot2
instance containing a basketball court for a
specified leaguerink_params
football_red_zone_border()
may be a different color than
the rest of the field border. This is not always the case, but the feature is
provided for convenienceggplot2
instance containing a tennis court for a specified
leagueggplot2
instance containing a soccer pitch for a specified
leaguehockey_goal_crease_outline()
), and the filling in its boundary. The goal
crease may have two notches (one on each side of the line y = 0)hockey_goal_crease_fill()
). The goal crease may have two
notches (one on each side of the line y = 0)hockey_goal_frame_fill()
)hockey_goal_frame()
) and the fill (this function)x
coordinate
should be its center (e.g. half of the line's width should be on each side of
the x
anchor)lacrosse_goal_line()
) and the goal. Notably, for fields with a
surrounding arc and/or fan around the goal area, this feature only
circumscribes the goal. Those features will be handled separately. This
feature may either be the full circle (e.g. all 360 degrees), or a partial
circle that may be greater than a half-circleggplot2
instance containing a lacrosse field for a
specified leagueggplot2
instance containing a volleyball court for a
specified leagueggplot2
instance containing an ice rink for a specified
leaguelacrosse_goal_circle()
) that may extend back to the end
line, but also may be cut off at the goal line extended. The extension should
be controlled via the goal_arc_extension
parameter. Note: the hash
marks are generated via lacrosse_goal_fan_hash_mark()
hockey_off_ice_officials_box()
for more informationlacrosse_offensive_zone()
, lacrosse_defensive_zone()
, and
lacrosse_neutral_zone()
. This line may not stretch the entire width of the
field, so a parameter is created insteadlacrosse_goal_fan()
) are drawn
independently from the goal fan itself. These should just be rectangles with
anchor points along the circlevolleyball_attack_line()
) and the line running along x = 0
. If
considering the entirety of the volleyball court as being divided into
thirds, this is half of the middle third of the courtsoccer_halfway_line()
for more information)volleyball_free_zone()
for reference)football_field_border()
for more information on this feature)y = 0
. This line is not typically considered an
official yard line, which is why it is created independentlytennis_net()
and the
tennis_serviceline()
. left-hand side of the court when facing the net from
the nearest baseline is the ad court, and the right-hand side is the deuce
court. This is constrained by the singles tennis_sideline()
.basketball_court_apron()
in that it is
the area outside the court. It may be the same color as the interior of the
court, but isn't necessarily. Unlike basketball_court_apron()
however, the
boundary line thickness doesn't matter since the lines are considered in-play
and therefore are included in the court's length and width. This is a colored
area inside of the free zone (see volleyball_free_zone()
).lacrosse_change_area_outline()
lacrosse_goal_circle()
for more informationlacrosse_change_area_fill()
lacrosse_goal_circle()
) that runs through
y = 0
lacrosse_defensive_area_line()
)lacrosse_end_line()
) and restraining line (see
lacrosse_restraining_line()
) when these features are presentlacrosse_off_field_officials_box()
for more informationvolleyball_attack_line()
) and the end line (see volleyball_end_line()
).
Players playing in the back row of the rotation must take off from this area
before attacking the ball. If considering the entirety of the volleyball
court as being divided into thirds, this is either of the outer thirds of
the courtx = 0
when viewing the court in TV
view, dividing the court into two equal halvesvolleyball_attack_line()
for more). This creates a single
dash, and the dashes should be added to the plot accordinglybasketball_court_apron()
in that it is the
area outside the court. It may be the same color as the interior of the
court, but isn't necessarily. Unlike basketball_court_apron()
however, the
boundary line thickness doesn't matter since the lines are considered in-play
and therefore are included in the court's length and width. This is not the
same as the volleyball_court_apron()
, as this is the entire area outside of
the court's lines, while the court apron corresponds to a colored apron
inside the free zonevolleyball_backcourt()
) from the front zone
(volleyball_front_zone()
). Players in the front row may attack from either
side of this line, while players in the back row must begin their attack from
the backcourt side of the line. The anchor point of this feature should be
its outer edgetennis_baseline()
. The line should extend towards the netx = 0
when viewing the court in TV viewx = court_width / 2
basketball_court_apron()
for more information on
the court apron)catchers_box_shape
parameterbasketball_free_throw_circle_fill()
basketball_center_circle_outline()
, and the fill (this feature), which is
the court coloring inside of the inner edge of this circle