Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

compute

Compute the multi-processing from a workspace


Description

Function to compute all the multi-processings or a given one from a workspace. By default the workspace only contains definitions: computation is needed to get the seasonal adjustment model (with get_model).

Usage

compute(workspace, i)

Arguments

workspace

the workspace to compute.

i

a character or numeric indicating the name or the index of the multiprocessing to compute. By default all the multi-processings are compute.

See Also

Examples

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, "sa1")
add_sa_item(wk, "sa1", 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

RJDemetra

Interface to 'JDemetra+' Seasonal Adjustment Software

v0.1.6
EUPL
Authors
Alain Quartier-la-Tente [aut, cre] (<https://orcid.org/0000-0001-7890-3857>), Anna Michalek [aut], Jean Palate [aut], Raf Baeyens [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.