Learn R Programming

Luminescence (version 0.9.25)

read_RF2R: Import RF-files to R

Description

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, ...)

Value

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

Arguments

file

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

...

not used, only for compatible reasons

Function version

0.1.1

How to cite

Kreutzer, S., 2024. read_RF2R(): Import RF-files to R. Function version 0.1.1. 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.25. https://r-lum.github.io/Luminescence/

Author

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

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 the function analyse_IRSAR.RF

References

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

See Also

RLum.Analysis, RLum.Data.Curve, analyse_IRSAR.RF

Examples

Run this code

##Import
file <- system.file("extdata", "RF_file.rf", package = "Luminescence")
temp <- read_RF2R(file)

Run the code above in your browser using DataLab