regarima_write_spec | R Documentation |
The specification file is a xml file like the one JDemetra+ would write when defining a specification in the Graphical User Interface.
regarima_write_spec(spec, file)
spec |
a specification created with |
file |
xml format |
NULL
returned invisibly
# creating a spec from default
reg_arima_spec <- rjd3x13::regarima_spec("rg3")
# forcing multiplicative model
reg_arima_spec_d <- rjd3toolkit::set_transform(reg_arima_spec ,
fun = "Log",
outliers = TRUE)
# writing the specification in a xml file
regarima_write_spec(reg_arima_spec_d, file = normalizePath("~/tmp.xml", mustWork = FALSE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.