Skip to contents

Get matchup analysis between two teams including ELO comparison and predicted win probability.

Usage

compare_teams(
  team1,
  team2,
  format = "t20",
  neutral_venue = TRUE,
  db_path = NULL
)

Arguments

team1

Character. First team name.

team2

Character. Second team name.

format

Character. Match format.

neutral_venue

Logical. If TRUE, no home advantage applied.

db_path

Character. Database path.

Value

A bouncer_team_comparison object.

See also

get_team to look up a single team, predict_match for detailed match prediction

Examples

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