| convert_odds | R Documentation | 
This function converts any odds or probability.
convert_odds(odds, input = "us", output = "all")
odds | 
 Odds, or lines, for a given bet(s) (-115, -105)  | 
input | 
 Type of odds for the input. Possible values are: 
  | 
output | 
 Type of odds for the output. Possible values are: 
  | 
odds
convert_odds(c(-110, -110))
convert_odds(
  odds = c(1.1, 2.1, 13, 6.5, 1.909),
  input = "dec",
  output = "us"
)
convert_odds(
  odds = c(1/10, 11/10, 12/1, 11/2, 10/11),
  input = "frac",
  output = "all"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.