football_directional_arrow: The directional arrows point towards the nearest goal line...

View source: R/features-football.R

football_directional_arrowR Documentation

The directional arrows point towards the nearest goal line from the yardage marker they are closest to. These arrows are described by their base (which runs parallel to the goal line) and their length, which extends from the tip to the base

Description

The directional arrows point towards the nearest goal line from the yardage marker they are closest to. These arrows are described by their base (which runs parallel to the goal line) and their length, which extends from the tip to the base

Usage

football_directional_arrow(arrow_base = 0, arrow_length = 0)

Arguments

arrow_base

The length of the base of the arrow

arrow_length

The length of the arrow from tip to base

Value

A data frame of the bounding coordinates of the directional arrow


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