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

get_object

Get objects inside a workspace or multiprocessing


Description

Generics functions to get all (get_all_objects()) multiprocessing (respectively sa_item) from a workspace (respectively multiprocessing) or to get a given one (get_object()) .

Usage

get_object(x, pos = 1)

get_all_objects(x)

Arguments

x

the object where to extract the multiprocessing or the sa_item.

pos

the index of the object to extract.

Value

An object of class multiprocessing or sa_item (for get_object()) or a list of objects of class multiprocessing or sa_item (for get_all_objects()).

See Also

Other functions to get informations from a workspace, multiprocessing or sa_item: count, get_model, get_name, get_ts.

Examples

sa_x13 <- x13(ipi_c_eu[, "FR"], spec = "RSA5c")

wk <- new_workspace()
mp <- new_multiprocessing(wk, "sa1")
add_sa_item(wk, "sa1", sa_x13, "X13")

# Other way to get the multiprocessing:
mp <- get_object(wk, 1)
# To get the sa_item object:
sa_item <- get_object(mp, 1)

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.