soccer_goal: The goal is located beyond each goal line. By rule, the goal...

View source: R/features-soccer.R

soccer_goalR Documentation

The goal is located beyond each goal line. By rule, the goal posts must be the same thickness as the goal line, and the posts must rest on the front edge of the goal line

Description

The line thickness will be uniform for all features on the pitch

Usage

soccer_goal(feature_thickness = 0, goal_width = 0, goal_depth = 0)

Arguments

feature_thickness

The thickness of the goal

goal_width

The interior width of the goal

goal_depth

The depth to which the goal protrudes away from the back edge of the goal line

Value

A data frame containing the bounding coordinates of the goal


sportyR documentation built on May 29, 2024, 8:33 a.m.