View source: R/time_discount.R
Functions for downweighting games according to when they were played.
1 2 3 | 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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.