View source: R/import_workspace.R
compute | R Documentation |
Function to compute all the multiprocessings or only a given one from a workspace.
By default, the workspace only contains definitions: computation is needed to recalculate and access the adjusted model
(with get_model
).
compute(workspace, i)
workspace |
the workspace to compute. |
i |
a |
get_model
spec_x13 <- x13_spec(spec = "RSA5c", easter.enabled = FALSE)
sa_x13 <- x13(ipi_c_eu[, "FR"], spec = spec_x13)
wk <- new_workspace()
mp <- new_multiprocessing(wk, "sap1")
add_sa_item(wk, "sap1", sa_x13, "X13")
sa_item1 <- get_object(mp, 1)
get_model(sa_item1, wk) # Returns NULL
compute(wk)
get_model(sa_item1, wk) # Returns the SA model sa_x13
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.