Description Usage Arguments Details Examples
Generate exponential weights
1 | exponential_weight(k, base = exp(1), offset = 0, slope = 0.1)
|
k |
1-base^(offset-slope*k) |
base |
1-base^(offset-slope*k) |
offset |
1-base^(offset-slope*k) |
slope |
1-base^(offset-slope*k) |
Returns a weight based on the formula 1-base^(offset-slope*k)
1 2 3 | exponential_weight(1:3, slope=.1)
exponential_weight(1:3, slope=1)
exponential_weight(1:3, slope=10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.