remove_margin: Remove Margin

Description Usage Arguments Details Value

View source: R/remove_margin.R

Description

Remove the bookmakers margin from a set of odds

Usage

1
remove_margin(x, method = "proportional")

Arguments

x

a vector, data.frame, tibble or matrix of decimal odds

method

one of 'proportional' or 'straight'. Default: 'proportional'

Details

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.

Value

OUTPUT_DESCRIPTION


neilcuz/panenkar documentation built on June 19, 2021, 7:31 p.m.