Description Usage Arguments Value Note
View source: R/helper_functions.R
Update the KFAS model using the given parameters, assuming a specific form.
1 | update_model(pars, model, tau, f_p, orthogonalize)
|
pars |
vector of parameters |
model |
object of class SSModel() which should be updated |
tau |
vector of observation points ( |
f_p |
a function to compute the parametric component, which must return a |
orthogonalize |
logical; when TRUE, orthogonalize the loading curve matrix |
The updated model
This function is necessary for state space optimization (initialization)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.