Learn R Programming

horsey (version 1.0.1)

winrate: Compute win rate from exported games

Description

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

Usage

winrate(games, player = NULL)

Value

Win rate.

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.