annotate_pitchSB: This function returns field markings in ggplot. This is...

Description Usage Arguments Value Examples

Description

This function puts the field mappings onto the graphics in specification with StatsBomb data.

Usage

1
2
ggplot(StatsBombData, aes(location.x, location.y)) +
 annotate_pitchSB()

Arguments

theme

A ggplot theme layer.

Value

theme

A ggplot theme layer.

Examples

1
2
ggplot(StatsBombData, aes(location.x, location.y)) +
 annotate_pitchSB()

nandomartinez/Soccer documentation built on Nov. 4, 2019, 8:34 p.m.