
Last chance! 50% off unlimited learning
Sale ends in
Data(option, value, clear.all = FALSE, clear.proj = FALSE,
clear.data = FALSE)
option
.TRUE
all parameters are cleared from
Data
, its default is FALSE
.TRUE
basic GUI preferences will
be saved and all other data removed, its default is FALSE
.TRUE
only data sets will be removed,
its default is FALSE
.value
is given the object specified by option
is returned.
A NULL
value is returned for objects not yet assigned a value and where
no default value is available.data.raw
(see ReadData
). Processed point data is saved to the data frame
data.pts
and interpolated surface data to the list data.grd
(see ProcessData
).# To set a parameter
Data("test1", 3.14159265)
Data("test2", list(id = "PI", val = 3.14159265))
# To retrieve a parameter value
Data("test1")
Data("test2")
Data(c("test2", "id"))
Data(c("test2", "val"))
# To get all parameter values
d <- Data()
# To clear all parameters, use at your own risk
Data(clear.all = TRUE)
Run the code above in your browser using DataLab