| RLum.Results-class | R Documentation |
"RLum.Results"Object class contains results data from functions (e.g., analyse_SAR.CWOSL).
dataObject of class list containing output data
Objects can be created by calls of the form new("RLum.Results", ...).
0.5.2
The class is intended to store results from functions to be used by other functions. The data in the object should always be accessed by the method get_RLum.
Sebastian Kreutzer, F2.1 Geophysical Parametrisation/Regionalisation, LIAG - Institute for Applied Geophysics (Germany) , RLum Developer Team
RLum, plot_RLum, merge_RLum
showClass("RLum.Results")
##create an empty object from this class
set_RLum(class = "RLum.Results")
##use another function to show how it works
##Basic calculation of the dose rate for a specific date
dose.rate <- calc_SourceDoseRate(
measurement.date = "2012-01-27",
calib.date = "2014-12-19",
calib.dose.rate = 0.0438,
calib.error = 0.0019)
##show object
dose.rate
##get results
get_RLum(dose.rate)
## get parameters used for the calculation from the same object
get_RLum(dose.rate, data.object = "parameters")
##alternatively objects can be accessed using S3 generics, such as
dose.rate$parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.