#' Model building for DLM
#'
#' @param p used in DLM modelling
#'
#' @return DLM
#' @export
#'
#' @examples Quarterly seasonal model
model.build.3 <- function(p) {
return(
dlmModPoly(2, dV=p[1], dW=p[2:3]) +
dlmModSeas(4, dV=p[4])
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.