scale_elo: standardize Elo ratings

scale_eloR Documentation

standardize Elo ratings

Description

standardize Elo ratings between 0 and 1

Usage

scale_elo(x)

Arguments

x

numeric, a vector of Elo ratings

Value

a numeric vector of Elo ratings, which are scaled between 0 and 1, with the highest rating that is supplied becoming 1, the lowest becoming 0, and all others being proportionally scaled in between

Author(s)

Christof Neumann

Examples

data(adv)
SEQ <- elo.seq(winner=adv$winner, loser=adv$loser, Date=adv$Date)
extract_elo(SEQ, "2010-01-30")
extract_elo(SEQ, "2010-01-30", standardize=TRUE)

# same as
scale_elo(extract_elo(SEQ, "2010-01-30"))

gobbios/EloRating documentation built on July 19, 2024, 4:05 a.m.