This function returns the break even win percentage needed based on the amount risked and the amount returned on the bet.
It also factors in parlay bets with the number of legs needed to convert to payout.
Gives you the percent chance you need to break even on the bet
Usage
break_even(risk, rtrn, legs = 1)
Arguments
- risk
Amount risked on the bet
- rtrn
Amount returned on the bet. (Risk + the amount won in the bet)
- legs
The number of legs needed to win the bet. (straight bets = 1, parlay >= 2)
Examples
break_even(110, 210, 1)
#> [1] 0.5238095
break_even(50, 750, 4)
#> [1] 0.5081327