Converts RLum.Analysis-objects and RLum.Data.Curve-objects to RLum2Risoe.BINfileData-objects
Source:R/convert_RLum2Risoe.BINfileData.R
convert_RLum2Risoe.BINfileData.Rd
The functions converts RLum.Analysis and RLum.Data.Curve objects and a list of those to Risoe.BINfileData objects. The function intends to provide a minimum of compatibility between both formats. The created RLum.Analysis object can be later exported to a BIN-file using the function write_R2BIN.
Arguments
- object
RLum.Analysis or RLum.Data.Curve (required): input object to be converted
- keep.position.number
logical (with default): keeps the original position number or re-calculate the numbers to avoid doubling
Value
The function returns a Risoe.BINfileData object.
Note
The conversion can be never perfect. The RLum
objects may contain information which are
not part of the Risoe.BINfileData definition.
Author
Sebastian Kreutzer, Institute of Geography, Heidelberg University (Germany) , RLum Developer Team
How to cite
Kreutzer, S., 2024. convert_RLum2Risoe.BINfileData(): Converts RLum.Analysis-objects and RLum.Data.Curve-objects to RLum2Risoe.BINfileData-objects. Function version 0.1.3. 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., 2024. Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 0.9.26. https://r-lum.github.io/Luminescence/
Examples
##simple conversion using the example dataset
data(ExampleData.RLum.Analysis, envir = environment())
convert_RLum2Risoe.BINfileData(IRSAR.RF.Data)
#>
#> [Risoe.BINfileData object]
#>
#> BIN/BINX version: 08
#> Object date: 20241118
#> User: RLum.Dat
#> System ID: 0 (unknown)
#> Overall records: 2
#> Records type: RL (n = 2)
#> Position range: 0 : 0
#> Run range: 1 : 2