altform | R Documentation |
altform
converts a STS model given in contemporaneous form into future
form, and vice versa.
altform(mdl, ...)
## S3 method for class 'stsm'
altform(mdl, ...)
mdl |
an object of class |
... |
other arguments. |
An object of class stsm
.
# Local level model
b <- 1
C <- as.matrix(1)
stsm1 <- stsm(Nile, b, C, S = diag(c(irr = 1, lvl = 0.5)) )
stsm1
stsm2 <- altform(stsm1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.