This function smooths a table of category means using an exponential smoothing
1 | .create_smoothing(weights, min_samples_leaf, smoothing)
|
weights |
A vector that contains the weight in each category |
min_samples_leaf |
A scalar that represents the minimum amount of weight deemed to be credible |
smoothing |
A scalar that defines the level of smoothing |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.