Skip to contents

Import files produced by the IR-RF 'ImageJ' macro (SR-RF.ijm; Mittelstraß and Kreutzer, 2021) into R and create a list of RLum.Analysis objects

Usage

read_RF2R(file, verbose = TRUE, ...)

Arguments

file

character (required): path and file name of the RF file. Alternatively a list of file names can be provided.

verbose

logical (with default): enable/disable output to the terminal.

...

not used, only for compatible reasons

Value

Returns an S4 RLum.Analysis object containing RLum.Data.Curve objects for each curve.

Details

The results of spatially resolved IR-RF data are summarised in so-called RF-files (Mittelstraß and Kreutzer, 2021). This functions provides an easy import to process the data seamlessly with the R package 'Luminescence'. The output of the function can be passed to function analyse_IRSAR.RF.

Function version

0.1.1

References

Mittelstraß, D., Kreutzer, S., 2021. Spatially resolved infrared radiofluorescence: single-grain K-feldspar dating using CCD imaging. Geochronology 3, 299–319. doi:10.5194/gchron-3-299-2021

Author

Sebastian Kreutzer, Geography & Earth Science, Aberystwyth University (United Kingdom)

Examples


##Import
file <- system.file("extdata", "RF_file.rf", package = "Luminescence")
temp <- read_RF2R(file)
#> 
#> [read_RF2R()] Importing ...
#>  path:  /home/runner/work/_temp/Library/Luminescence/extdata
#>  file:  RF_file.rf