winrate: Compute win rate from exported games

View source: R/analyze.R

winrateR Documentation

Compute win rate from exported games

Description

Computes a win rate from the tibble returned by export_games().

Usage

winrate(games, player = NULL)

Arguments

games

Tibble returned by export_games().

player

Optional username to compute perspective-correct results. If NULL, uses winner only and treats non-win as non-win.

Value

Win rate.


horsey documentation built on Jan. 22, 2026, 5:07 p.m.