true_probability: True Expected Probability

View source: R/true_probability.R

true_probabilityR Documentation

True Expected Probability

Description

This function calculates the fair odds for a bet.

Usage

true_probability(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

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


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