The function creates an nth order polynomial DLM.
1 2 
order 
order of the polynomial model. The default corresponds to a stochastic linear trend. 
dV 
variance of the observation noise. 
dW 
diagonal elements of the variance matrix of the system noise. 
m0 
m0, the expected value of the presample state vector. 
C0 
C0, the variance matrix of the presample state vector. 
An object of class dlm representing the required nth order polynomial model.
Giovanni Petris GPetris@uark.edu
Giovanni Petris (2010), An R Package for Dynamic Linear
Models. Journal of Statistical Software, 36(12), 116.
http://www.jstatsoft.org/v36/i12/.
Petris, Petrone, and Campagnoli, Dynamic Linear Models with
R, Springer (2009).
West and Harrison, Bayesian forecasting and dynamic models
(2nd ed.), Springer, 1997.
dlmModARMA
, dlmModReg
,
dlmModSeas
1 2 3 4  ## the default
dlmModPoly()
## random walk plus noise
dlmModPoly(1, dV = .3, dW = .01)

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.