plot_pitch: Plot standard pitch with dimension of 105m x 68m (or yard...

Description Usage Arguments Author(s)

View source: R/pitch_plot.R

Description

Plot standard pitch with dimension of 105m x 68m (or yard equivalent). Event or tracking data the has been standardized to these dimensions can be readily plotted on top.

Usage

1
2
3
4
5
6
7
plot_pitch(
  unit = "meters",
  theme = "light",
  type = "full_pitch",
  orientation = "horizontal",
  direction_arrow = FALSE
)

Arguments

unit

Dimensions in meters or yards. Defaults to meters

theme

Choose between light and dark theme. Defaults to light

type

Choose between full_pitch, offensive_half or defensive_half. Defaults to full_pitch

orientation

Choose between horizontal or vertical orientation. Defaults to horizontal

direction_arrow

Optional indicator for direction of play. Defaults to false

Author(s)

Lars Maurath


RobWHickman/Rteta documentation built on Oct. 28, 2020, 10:42 p.m.