This function provides the implied probability or "Break Even" win percentage for a given bet.
Arguments
- odds
American Odds of the bet
- type
Type of odds. Possible values are:
us
, American Oddsdec
, Decimal Oddsfrac
, Fractional Odds
Examples
implied_prob(-150)
#> [1] 0.6
implied_prob(360)
#> [1] 0.2173913
implied_prob(c(360, -500, -110, 140))
#> [1] 0.2173913 0.8333333 0.5238095 0.4166667
implied_prob(c(3.60, 5.00, 1.10, 1.40), type = "dec")
#> [1] 0.2777778 0.2000000 0.9090909 0.7142857
implied_prob(c(5/2, 1/2, 7/1, 20/1, 10/11), type = "frac")
#> [1] 0.28571429 0.66666667 0.12500000 0.04761905 0.52380952