Description Usage Arguments Value Examples
View source: R/betting_tools.R
Returns a vector of the zero-vig implied probabilities
1 | calculateZeroVigProb(lines, precision = 4)
|
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. |
A vector representing the zero-vig implied probabilities.
1 2 3 4 5 | calculateZeroVigProb(c(200, -180, -450, 800))
calculateZeroVigProb(-237)
calculateZeroVigProb(-237, precision = 7)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.