Function calls object-specific get functions for RLum S4 class objects.
get_RLum(object, ...) # S4 method for list get_RLum(object, class = NULL, null.rm = FALSE, ...) # S4 method for `NULL` get_RLum(object, ...)
object | RLum (required):
S4 object of class |
---|---|
... | further arguments that will be passed to the object specific methods. For further details on the supported arguments please see the class documentation: RLum.Data.Curve, RLum.Data.Spectrum, RLum.Data.Image, RLum.Analysis and RLum.Results |
class | character (optional): allows to define the class that gets selected if applied to a list, e.g., if a list consists of different type of RLum-class objects, this arguments allows to make selection. If nothing is provided, all RLum-objects are treated. |
null.rm | logical (with default): option to get rid of empty and NULL objects |
Return is the same as input objects as provided in the list.
The function provides a generalised access point for specific
RLum objects.
Depending on the input object, the corresponding get function will be selected.
Allowed arguments can be found in the documentations of the corresponding
RLum class.
get_RLum,list-method
: Returns a list of RLum objects that had been passed to get_RLum
get_RLum,NULL-method
: Returns NULL
0.3.3
Sebastian Kreutzer, Geography & Earth Sciences, Aberystwyth University (United Kingdom) , RLum Developer Team
Kreutzer, S., 2021. get_RLum(): General accessors function for RLum S4 class objects. Function version 0.3.3. In: Kreutzer, S., Burow, C., Dietze, M., Fuchs, M.C., Schmidt, C., Fischer, M., Friedrich, J., Mercier, N., Riedesel, S., Autzen, M., Mittelstrass, D., Gray, H.J., 2021. Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 0.9.11. https://CRAN.R-project.org/package=Luminescence
##Example based using data and from the calc_CentralDose() function ##load example data data(ExampleData.DeValues, envir = environment()) ##apply the central dose model 1st time temp1 <- calc_CentralDose(ExampleData.DeValues$CA1)#> #> [calc_CentralDose] #> #> ----------- meta data ---------------- #> n: 62 #> log: TRUE #> ----------- dose estimate ------------ #> central dose [Gy]: 65.71 #> SE [Gy]: 3.05 #> rel. SE [%]: 4.65 #> ----------- overdispersion ----------- #> OD [Gy]: 22.79 #> SE [Gy]: 2.27 #> OD [%]: 34.69 #> SE [%]: 3.46 #> ------------------------------------- #>##get results and store them in a new object temp.get <- get_RLum(object = temp1)