Skip to contents

Score evolution plot

Usage

vr_plot_icons()

vr_score_evplot(
  x,
  with_summary = FALSE,
  use_icons = FALSE,
  icons,
  home_colour = "darkblue",
  visiting_colour = "darkred",
  low_colour = "#800000",
  mid_colour = "#202020",
  high_colour = "#008000",
  font_size = 12
)

Arguments

x

datavolley or string: as returned by datavolley::dv_read, or the path to such a file

with_summary

logical: if TRUE, show team summary statistics. For beach, this is by end; for indoor summaries will be by set

use_icons

logical: add icons for ace/error/block kill?. Note that timeout icons are always added

icons

data.frame: a data.frame as returned by vr_plot_icons(). Note that only (free) fontawesome icons are supported

home_colour

string: colour for home team

visiting_colour

string: colour for visiting team

low_colour, mid_colour, high_colour

string: colours for low, mid, and high performance (used for with_summary only)

font_size

scalar: font size

Value

A ggplot object