create_Pitch: Create a pitch plot ready for Statsbomb data

Description Usage Arguments Value

Description

Creating a pitch plot using ggplot2 that is ready to plot actions on top. Numerous options allow customisation.

Usage

1
2
3
4
create_Pitch(grass_colour = "#F9F9F9", line_colour = "#8F8F8F",
  background_colour = "#F9F9F9", goal_colour = "#000000",
  goaltype = "line", middlethird = FALSE, BasicFeatures = FALSE,
  JdeP = FALSE, padding = 5)

Arguments

grass_colour

A string as a colour by word or #HEX code

line_colour

A string as a colour by word or #HEX code

background_colour

A string as a colour by word or #HEX code

goal_colour

A string as a colour by word or #HEX code

goaltype

String, either "line", "box" or "barcanumbers". Default "line"

middlethird

Boolean. Default FALSE

BasicFeatures

Boolean. Default FALSE

JdeP

Boolean. Default FALSE

arcs

Boolean. Default TRUE

padding

Numeric. Default = 5

Value

A plot of a pitch


FCrSTATS/SBpitch documentation built on May 7, 2019, 10:53 a.m.