lacrosse_defensive_zone: The defensive zone is the TV-left area of the playing...

View source: R/features-lacrosse.R

lacrosse_defensive_zoneR Documentation

The defensive zone is the TV-left area of the playing surface. In many cases, this will correspond to half of the field's length

Description

The defensive zone is the TV-left area of the playing surface. In many cases, this will correspond to half of the field's length

Usage

lacrosse_defensive_zone(
  field_length = 0,
  field_width = 0,
  corner_radius = 0,
  nzone_length = 0,
  field_shape = "rectangle"
)

Arguments

field_length

The interior length of the field

field_width

The interior width of the field

corner_radius

The radius of the corner (assuming field_shape = "oval"). Viable options are "rectangle" or "oval"

nzone_length

The length of the neutral zone

field_shape

The shape of the field, passed as a string

Value

A data frame containing the bounding coordinates of the defensive zone


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