Learn R Programming

sportyR (version 2.2.2)

hockey_offensive_zone: The offensive zone is the right "third" of the rink in TV view. This is the area that a team attacks to try to score a goal when attacking from left to right

Description

The offensive zone is the right "third" of the rink in TV view. This is the area that a team attacks to try to score a goal when attacking from left to right

Usage

hockey_offensive_zone(
  rink_length = 0,
  rink_width = 0,
  feature_radius = 0,
  nzone_length = 0
)

Value

A data frame of the bounding coordinates of the offensive zone

Arguments

rink_length

The length of the rink

rink_width

The width of the rink

feature_radius

The radius of the corners of the boards

nzone_length

The length of the neutral zone