get_position {RJDemetra} | R Documentation |
Get the position of an object
Description
Generic functions to retrieve the position of the contained multiprocessings
or the contained sa_items
.
Usage
get_position(x, name)
Arguments
x |
An object containing other objects whose names we want to know |
name |
a |
Value
A integer
See Also
Other functions to retrieve information from a workspace, multiprocessing or sa_item: get_name
, get_all_names
, count
, get_model
, get_ts
.
Examples
spec_x13 <- x13_spec(spec = "RSA5c", easter.enabled = FALSE)
sa_x13 <- x13(ipi_c_eu[, "FR"], spec = spec_x13)
spec_ts <- tramoseats_spec(spec = "RSA5")
sa_ts <- tramoseats(ipi_c_eu[, "FR"], spec = spec_ts)
wk <- new_workspace()
mp <- new_multiprocessing(wk, "sap1")
mp2 <- new_multiprocessing(wk, "sap2")
get_position(wk, "sap1")
get_position(wk, "sap2")
add_sa_item(wk, "sap1", sa_x13, "X13")
add_sa_item(wk, "sap1", sa_ts, "TramoSeats")
get_position(mp, "TramoSeats")
get_position(mp, "X13")
[Package RJDemetra version 0.2.6 Index]