| dlmSum {dlm} | R Documentation |
dlmSum creates a unique DLM out of two or more
independent DLMs. %+% is an alias for dlmSum.
dlmSum(...) x %+% y
... |
any number of objects of class dlm, or a list of
such objects. |
x, y |
objects of class dlm. |
An object of class dlm, representing the outer sum of the
arguments.
Giovanni Petris GPetris@uark.edu
m1 <- dlmModPoly(2) m2 <- dlmModPoly(1) dlmSum(m1, m2) m1 %+% m2 # same thing