calibrate_serve: Calibrates Serve Probabilities

Description Usage Arguments

View source: R/calibrate_serve.R

Description

Returns the expected probability of player given that player's win expectations

Usage

1
calibrate_serve(win, player.serve, opponent.serve, bestof3 = TRUE)

Arguments

win

Numeric value between 0 and 1 that is the player's expected win percentage

bestof3

Logical indicating whether the match is a best of 3 (TRUE) or best of 5 (FALSE) format

player.serve.

Numerical expected serve

opponent.serve.

Numerical expected serve


skoval/inmatch_api documentation built on Jan. 20, 2020, 4:14 a.m.