Description Usage Arguments Details Value
View source: R/remove_margin.R
Remove the bookmakers margin from a set of odds
1 | remove_margin(x, method = "proportional")
|
x |
a vector, data.frame, tibble or matrix of decimal odds |
method |
one of 'proportional' or 'straight'. Default: 'proportional' |
the 'proportional' method detailed here: https://www.football-data.co.uk/The_Wisdom_of_the_Crowd_updated.pdf but can also be the 'straight' method. The proportional method is thought to be superior, straight method is just divide everything by the over round.
OUTPUT_DESCRIPTION
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.