parlay_calc: Parlay Calculation

View source: R/parlay_calc.R

parlay_calcR Documentation

Parlay Calculation

Description

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"
)
parlay_calc(
  risk = 50,
  odds = c(-110, -110, -110, -110),
  type = "us"
)
parlay_calc(
  risk = 100,
  odds = c(-110, -150, -175, -325, -220),
  type = "us"
)


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