discount_exponential: Time discounting

Description Usage Arguments

View source: R/time_discount.R

Description

Functions for downweighting games according to when they were played.

Usage

1
2
3
discount_exponential(days_ago, rate)

discount_lte(days_ago, threshold)

Arguments

days_ago

The number of days ago as an integer or double.

rate, threshold

Parameters controlling the discount rate, and which games to discount, repectively.


Torvaney/regista documentation built on June 7, 2021, 12:21 a.m.