create_CH_pitch: Create a Pitch ready for Chyronhego data

Description Usage Arguments Value

View source: R/create_CH_pitch.R

Description

Chyronhego tracking data working with pitch length of 10500 and width of 6600. Uses ggplot and returns a plot ready for further data to be plotted over the top.

Usage

1
2
3
4
create_CH_pitch(grass_colour = "#F9F9F9", line_colour = "#8F8F8F",
  background_colour = "#F9F9F9", goal_colour = "#000000",
  goaltype = "barcanumbers", middlethird = FALSE, BasicFeatures = FALSE,
  arcs = TRUE, padding = 100)

Arguments

grass_colour

Colour of the grass, Default = "#F9F9F9", HEXCODE or accept colour string i.e. "red"

line_colour

Colour of the line, Default = "#8F8F8F", HEXCODE or accept colour string i.e. "red"

background_colour

Colour of the Default = "#F9F9F9", border area, HEXCODE or accept colour string i.e. "red"

goaltype

Type of goal used. Default = "barcanumbers". "line" and "box" also available

middlethird

Default = FALSE, Adds a shading to the middle third of the pitch

BasicFeatures

Default = FALSE, If TRUE removes most of the pitch features to have a more minimalist design

arcs

Default = TRUE, adds the D-arcs

padding

Default = 100, adds some padding around the pitch

Value

A pitch plot, that allows data to be plotted on top


FCrSTATS/fc.rstats documentation built on July 18, 2019, 5:08 a.m.