Functions for downweighting games according to when they were played.
discount_exponential(days_ago, rate) discount_lte(days_ago, threshold)
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. |