calculate_earnings_by_strategy: Calculate earnings by strategy

View source: R/calculate_earnings.R

calculate_earnings_by_strategyR Documentation

Calculate earnings by strategy

Description

Calculate earnings by strategy

Usage

calculate_earnings_by_strategy(data, f, group_by_date = FALSE)

Arguments

data

tibble with bets

f

list of functions to evaluate (options: bet_home, bet_away, bet_draw and bet_model)

group_by_date

logical, indicating if calculations should be made grouped by date (default is FALSE)

Value

tibble with earnings


kristian-bak/football documentation built on Oct. 8, 2022, 2:11 p.m.