Description Usage Arguments Details Value Examples
Add Trend to Polls
1 2 |
data |
polls object |
name |
trend name |
type |
trend function name |
args |
trend function arguments |
interpolations |
list of interpolations that should be applied to the trend |
Available trend function names are:
kalman
- arguments: sd = 0.03
weightedMeanLastDays
- arguments: days = 30, maxObs = Inf
Available interpolations are:
lastInterpolation
- no arguments.
linearInterpolation
- no arguments.
bernoulliConvInterpolation
- arguments: n = 20, k = 6
polls object
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.