calculateZeroVigProb: Calculate zero-vig implied probabilities

Description Usage Arguments Value Examples

View source: R/betting_tools.R

Description

Returns a vector of the zero-vig implied probabilities

Usage

1
calculateZeroVigProb(lines, precision = 4)

Arguments

lines

A vector representing a vector of lines in American odds format.

precision

A numerical value representing the precision. The default precision is set to 4 digits.

Value

A vector representing the zero-vig implied probabilities.

Examples

1
2
3
4
5
calculateZeroVigProb(c(200, -180, -450, 800))

calculateZeroVigProb(-237)

calculateZeroVigProb(-237, precision = 7)

pwu97/bettingtools documentation built on May 27, 2020, 11:45 p.m.