tennis_center_serviceline: The center serviceline on the court divides the service area...

View source: R/features-tennis.R

tennis_center_servicelineR Documentation

The center serviceline on the court divides the service area into two parts: the ad court (left) and the deuce court (right)

Description

This line extends from the net to the back edge of the serviceline, and is centered on the line x = 0

Usage

tennis_center_serviceline(center_serviceline_length = 0, feature_thickness = 0)

Arguments

center_serviceline_length

The length of the center serviceline from the net to the back edge of the serviceline (see tennis_serviceline() for more information)

feature_thickness

The thickness of the center serviceline

Value

A data frame containing the bounding coordinates of the center serviceline


sportsdataverse/sportyR documentation built on Feb. 17, 2024, 9:44 p.m.