fair_odds: True Expected Probability

View source: R/fair_odds.R

fair_oddsR Documentation

True Expected Probability

Description

This function calculates the fair odds for a bet.

Usage

fair_odds(line = -110, odds = c(-110, -110), type = "us")

Arguments

line

Line for the specific bet (-115)

odds

Vector with all lines for a wager (-115, -105)

type

Type of odds. Possible values are:

  • us, American Odds

  • dec, Decimal Odds

  • frac, Fractional Odds

Value

True Expected probability of bet

Examples

fair_odds(1.8, c(1.8, 2.1), type = "dec")
fair_odds(-115, c(-115, -105))
fair_odds(258, c(285, -122, 258))
fair_odds(line = -100, odds = c(-100, -120))


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