set_raw_data | R Documentation |
Get/Set Raw Data in a SA-item
set_raw_data(jsap, idx, y)
get_raw_data(jsai)
jsap |
SAProcessing to be modified. |
idx |
index of the target SA-item. |
y |
new raw time series. |
jsai |
a SA-item. |
NULL
returned invisibly (set) or TS object (get)
# Load a Workspace
file <- system.file("workspaces", "workspace_test.xml", package = "rjd3workspace")
jws <- jws_open(file)
# Select SAProcessing
sap1 <- jws_sap(jws, 1)
# Select SA-item
sai1 <- jsap_sai(sap1, 3) # java object sai
tail(get_raw_data(sai1))
new_raw_data <- rjd3toolkit::ABS$X0.2.15.10.M
set_raw_data(sap1,3,new_raw_data)
sai1 <- jsap_sai(sap1,3) # reload SA-item
tail(get_raw_data(sai1)) # get raw data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.