This function calculates the fair odds for a bet.
Usage
fair_odds(line = -110, odds = c(-110, -110), type = "us")
Arguments
- line
Line for the specific bet (-115)
- odds
Vector with all lines for a wager (-115, -105)
- type
Type of odds. Possible values are:
us
, American Odds
dec
, Decimal Odds
frac
, Fractional Odds
Value
True Expected probability of bet
Examples
fair_odds(1.8, c(1.8, 2.1), type = "dec")
#> [1] 1.857143
fair_odds(-115, c(-115, -105))
#> [1] -104
fair_odds(258, c(285, -122, 258))
#> [1] 290
fair_odds(line = -100, odds = c(-100, -120))
#> [1] 109