tennis_frontcourt_half: The front court is the area between the 'tennis_net()' and...

View source: R/features-tennis.R

tennis_frontcourt_halfR Documentation

The front court is the area between the tennis_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().

Description

This is one half of the front court (either the ad or deuce court)

Usage

tennis_frontcourt_half(serviceline_distance = 0, singles_width = 0)

Arguments

serviceline_distance

The distance from the net to the serviceline

singles_width

The width of the singles court

Value

A data frame containing the bounding coordinates of one half of the frontcourt


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