build_bet_placement_matrix: Build Bet Placement Matrix

Description Usage Arguments Value

View source: R/simulate_bets.R

Description

Build a bet placement matrix

Usage

1
build_bet_placement_matrix(probs, odds, min_advantage, max_odds)

Arguments

probs

Tibble, data.frame or matrix of estimated match probabilities. Columns are outcomes, rows are matches.

odds

Tibble, data.frame or matrix of bookmakers odds. Columns are outcomes, rows are matches.

min_advantage

Minimum advantage needed before a bet is placed. Default: 0.1.

max_odds

Maximum odds which a bet is placed it. You might limit odds to lower variance. Default: 5.

Value

A matrix the same size as the probs and odds matrices, composed of 1s and 0s indicating where a bet has been placed


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