This function calculates the payout of parlay bets.
Usage
parlay_calc(risk, odds, type = "us")
Arguments
- risk
Odds for your bet(s)
- odds
Vector of odds for each leg of the parlay (-132, -115, -110, -110)
- type
Type of odds. Possible values are:
us
, American Odds
dec
, Decimal Odds
frac
, Fractional Odds
Value
payout Parlay payout
Examples
parlay_calc(
risk = 75,
odds = c(-110, -110, -110),
type = "us"
)
#> [1] 447
parlay_calc(
risk = 50,
odds = c(-110, -110, -110, -110),
type = "us"
)
#> [1] 614
parlay_calc(
risk = 100,
odds = c(-110, -150, -175, -325, -220),
type = "us"
)
#> [1] 851