break_even: Break Even Probability

View source: R/break_even.R

break_evenR Documentation

Break Even Probability

Description

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)

Value

prob

Examples

break_even(110, 210, 1)
break_even(50, 750, 4)


papagorgio23/bettoR documentation built on May 24, 2023, 5:01 a.m.