baseball_infield_dirt: The dirt that comprises the infield. This includes the base...

View source: R/features-baseball.R

baseball_infield_dirtR Documentation

The dirt that comprises the infield. This includes the base paths, infield arc, and home plate circle.

Description

The home plate circle may be drawn over in other shapes as needed (example: Detroit's Comerica Park has a home plate shaped dirt area as the home plate "circle")

Usage

baseball_infield_dirt(
  home_plate_circle_radius = 0,
  foul_line_to_foul_grass = 0,
  pitchers_plate_distance = 0,
  infield_arc_radius = 0
)

Arguments

home_plate_circle_radius

The radius of the circle around home plate

foul_line_to_foul_grass

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

pitchers_plate_distance

The distance from the back tip of home plate to the front edge of the pitcher's plate

infield_arc_radius

The distance from the front edge of the pitcher's plate to the back of the infield dirt

Value

A data frame that comprises the entirety of the infield dirt and dirt circles around home plate


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