Learn R Programming

sportyR (version 2.2.2)

tennis_court_apron: The court apron is referred to as the backstop and sidestop. These areas are entirely outside of the playing court, but legal shots made here are considered in play

Description

The court apron is referred to as the backstop and sidestop. These areas are entirely outside of the playing court, but legal shots made here are considered in play

Usage

tennis_court_apron(
  court_length = 0,
  court_width = 0,
  backstop_distance = 0,
  sidestop_distance = 0
)

Value

A data frame containing the bounding coordinates of the court apron

Arguments

court_length

The length of the court

court_width

The width of the court (usually the doubles width of the court)

backstop_distance

The distance from the back edge of the tennis_baseline() to the back boundary

sidestop_distance

The distance from the outer edge of the tennis_sideline() to the side boundary