Call this function once to iterate through all elements of a vector and return
the indices of all trends relative to a single (constant) baseline. For a
changing baseline this function is used multiple times by
basic_trend(val, trigger = 5)
A numeric vector. The vector
The default number of observations for a trend is 5.
If trends are found, the indices of these trends. If not,
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.