Description Usage Arguments Value Examples
Create a basic time series regarding the parameters
1 | basic.series(x, n=4, loess.span=0.6, start, freq=12)
|
x |
key points of the series to be adjusted |
n |
number of periods of the series |
loess.span |
span of the loess adjust |
start |
start date of the time series |
freq |
frequency of the time series |
returns the generated time series
1 2 3 4 | set.seed(123)
kp <- c(100,110,140,120,90)
bs <- basic.series(kp, start=c(2008,1))
bs <- basic.series(kp, n=2, loess.span=0.4, start=c(2010,1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.