powered by
thetaModel
## S3 method for class 'thetaModel': plot(x, ...)
par
dotm
forecTheta-package
y1 = 2+ 0.15*(1:20) + rnorm(20,2) y2 = y1[20]+ 0.3*(1:30) + rnorm(30,2) y = as.ts(c(y1,y2)) out <- dotm(y, h=10) plot(out)
Run the code above in your browser using DataLab