read_RF2R: Import RF-files to R

View source: R/read_RF2R.R

read_RF2RR Documentation

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

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.

Value

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

Function version

0.1.1

Author(s)

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

References

Mittelstraß, D., Kreutzer, S., 2021. Spatially resolved infrared radiofluorescence: single-grain K-feldspar dating using CCD imaging. Geochronology 3, 299–319. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.5194/gchron-3-299-2021")}

See Also

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

Examples


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


R-Lum/Luminescence documentation built on March 1, 2025, 12:43 a.m.