Skip to contents

Ensures venue ELO stays within defined bounds to prevent extreme drift. Venue bounds are tighter than player bounds since venue characteristics should be more stable over time.

Usage

bound_venue_elo(elo)

Arguments

elo

Numeric. Current or updated venue ELO rating.

Value

Numeric. Bounded venue ELO rating.

Details

Uses THREE_WAY_VENUE_ELO_MIN and THREE_WAY_VENUE_ELO_MAX constants.

Examples

bound_venue_elo(1400)
#> [1] 1400
bound_venue_elo(1800)  # Capped to max
#> [1] 1600