Learn R Programming

sportyR (version 2.2.2)

tennis_sideline: 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)

Value

A data frame containing the bounding coordinates of the sideline

Arguments

court_length

The length of the court

feature_thickness

The thickness of the sideline