View source: R/calculate_earnings.R
calculate_earnings | R Documentation |
Calculate earnings
calculate_earnings( data, var_bets = NULL, var_stake = "Stake", var_revenue = "Revenue" )
data |
tibble with bets (see 'read_data') |
var_bets |
character string with variable name for "bets" column (Default is NULL, meaning summing exposure) |
var_stake |
character string with variable name for "stake" column (Default is "Stake") |
var_revenue |
character string with variable name for "Revenue" column (Default is "Revenue") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.