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

View source: R/theme_SB.R

theme_SBR Documentation

This function returns the theme consistent with reports written by StatsBomb.

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

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

Arguments

theme

A ggplot theme layer.

Value

theme

A ggplot theme layer.

Examples

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

statsbomb/StatsBombR documentation built on Dec. 3, 2024, 11:53 p.m.