The function provides a generalised access point for specific RLum objects. Depending on the input object, the corresponding function will be selected. Allowed arguments can be found in the documentations of the corresponding RLum class.
Arguments
- object
RLum or Risoe.BINfileData (required): S4 object of class
RLum.Analysis
orRisoe.BINfileData
- ...
further arguments passed to the specific class method
How to cite
Colombo, M., 2025. sort_RLum(): Sort data for RLum S4-class objects. Function version 0.1.0. In: Kreutzer, S., Burow, C., Dietze, M., Fuchs, M.C., Schmidt, C., Fischer, M., Friedrich, J., Mercier, N., Philippe, A., Riedesel, S., Autzen, M., Mittelstrass, D., Gray, H.J., Galharret, J., Colombo, M., Steinbuch, L., Boer, A.d., 2025. Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 1.0.1. https://r-lum.github.io/Luminescence/
Examples
## load example data
data(ExampleData.XSYG, envir = environment())
obj <- OSL.SARMeasurement$Sequence.Object[1:9]
sort_RLum(obj, slot = "recordType")
#>
#> [RLum.Analysis-class]
#> originator: read_XSYG2R()
#> protocol: SAR
#> additional info elements: 0
#> number of records: 9
#> .. : RLum.Data.Curve : 9
#> .. .. : #1 OSL (NA) <> #2 OSL (NA) <> #3 OSL (NA) <> #4 OSL (NA) <> #5 OSL (UVVIS)
#> .. .. : #6 TL (NA) <> #7 TL (NA) <> #8 TL (UVVIS)
#> .. .. : #9 irradiation (NA)
sort_RLum(obj, info_element = "curveDescripter")
#>
#> [RLum.Analysis-class]
#> originator: read_XSYG2R()
#> protocol: SAR
#> additional info elements: 0
#> number of records: 9
#> .. : RLum.Data.Curve : 9
#> .. .. : #1 TL (NA) <> #2 TL (NA)
#> .. .. : #3 OSL (NA) <> #4 OSL (NA)
#> .. .. : #5 TL (UVVIS)
#> .. .. : #6 OSL (UVVIS) <> #7 OSL (NA) <> #8 OSL (NA)
#> .. .. : #9 irradiation (NA)