Skip to contents

Overlays ELO rating histories for multiple teams on a single chart.

Usage

plot_team_elo_comparison(
  teams,
  format = "t20",
  n_matches = NULL,
  db_path = NULL
)

Arguments

teams

Character vector. Team names to compare (max 8).

format

Character. Match format: "t20", "odi", "test".

n_matches

Integer. Number of recent matches to show per team. If NULL, shows all.

db_path

Character. Database path.

Value

A ggplot object.

Examples

if (FALSE) { # \dontrun{
plot_team_elo_comparison(c("India", "Australia", "England"), format = "t20")
} # }