View source: R/synthetic_data_generation.R
Points are added in between the points of the pattern, with a density cotrolled by the scaling.factor parameter. The shape of the pattern is maintained.
1 | ScalePattern(pattern, scaling.factor)
|
pattern |
A time series xts pattern |
scaling.factor |
The new length of the pattern will be the scaling.factor multipled by the old length |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.