Description Usage Arguments Value
View source: R/simulate_bets.R
Build a bet placement matrix
1 | build_bet_placement_matrix(probs, odds, min_advantage, max_odds)
|
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. |
A matrix the same size as the probs and odds matrices, composed of 1s and 0s indicating where a bet has been placed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.