calculateTheoreticalHold: Calculates the theoretical hold

Description Usage Arguments Value Examples

View source: R/betting_tools.R

Description

Returns the theoretical hold for a two-outcome line set. This corresponds to the profit a sportsbook would expect to make were a player to bet on either side of an event with all else being equal.

Usage

1
calculateTheoreticalHold(pair, precision = 4)

Arguments

pair

A vector representing the pair of outcomes in American odds format

precision

A numerical value representing the precision. The default precision is set to 4 digits.

Value

A numerical value representing the theoretical hold.

Examples

1
2
3
4
5
calculateTheoreticalHold(c(-110, -110))

calculateTheoreticalHold(c(-1500, 875))

calculateTheoreticalHold(c(-1500, 875), precision = 7)

pwu97/bettingtools documentation built on May 27, 2020, 11:45 p.m.