baseball_infield_grass: Baseball Infield Grass

View source: R/features-baseball.R

baseball_infield_grassR Documentation

Baseball Infield Grass

Description

The dirt that comprises the infield grass. This is the area inside the lines drawn by the basepaths

Usage

baseball_infield_grass(
  home_plate_circle_radius = 0,
  foul_line_to_infield_grass = 0,
  baseline_distance = 0,
  base_anchor_to_infield_grass = 0
)

Arguments

home_plate_circle_radius

The radius of the circle around home plate

foul_line_to_infield_grass

The distance from the outer edge of the foul line to the inner edge of the infield grass

baseline_distance

The distance from the back tip of home plate to the back corner of either first or third base along the foul line

Value

A data frame that comprises the entirety of the infield grass


sportyR documentation built on Aug. 8, 2025, 6:17 p.m.