os_ggcourt: Minimal ggplot court plot

Description Usage Arguments Value Examples

View source: R/plot.R

Description

Minimal ggplot court plot

Usage

1
os_ggcourt(court = "tennis", line_colour = "black", ...)

Arguments

court

string: court to plot, currently only "tennis"

line_colour

string: colour to use for court lines

...

: additional arguments, currently ignored

Value

A list that can be added to a ggplot2::ggplot()

Examples

1
2
library(ggplot2)
ggplot() + os_ggcourt("tennis")

openvolley/opensportml documentation built on Jan. 26, 2021, 1:34 a.m.