theme_SB: This function returns the theme consistent with reports...

Description Usage Arguments Value Examples

View source: R/theme_SB.R

Description

This theme is only functional in ggplot2 at the moment. But simply adding the theme at the end of your ggplot object will format your plot in the theme of StatsBomb

Usage

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

Arguments

theme

A ggplot theme layer.

Value

theme

A ggplot theme layer.

Examples

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

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