tennis_sideline: The sideline runs the entire length of the court, and there...

View source: R/features-tennis.R

tennis_sidelineR Documentation

The sideline runs the entire length of the court, and there may be up to four sidelines on the court (this may refer to either the singles or doubles sideline). Lines are considered in play, so the outer edge of the sideline will lie along x = court_width / 2

Description

The sideline runs the entire length of the court, and there may be up to four sidelines on the court (this may refer to either the singles or doubles sideline). Lines are considered in play, so the outer edge of the sideline will lie along x = court_width / 2

Usage

tennis_sideline(court_length = 0, feature_thickness = 0)

Arguments

court_length

The length of the court

feature_thickness

The thickness of the sideline

Value

A data frame containing the bounding coordinates of the sideline


sportyR documentation built on July 9, 2023, 5:49 p.m.