convert_RLum2Risoe.BINfileData: Converts RLum.Analysis and RLum.Data.Curve objects to...

View source: R/convert_RLum2Risoe.BINfileData.R

convert_RLum2Risoe.BINfileDataR Documentation

Converts RLum.Analysis and RLum.Data.Curve objects to RLum2Risoe.BINfileData objects

Description

The functions converts RLum.Analysis and RLum.Data.Curve objects (or a list of such objects) 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 function write_R2BIN.

Usage

convert_RLum2Risoe.BINfileData(object, keep.position.number = FALSE)

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.

Function version

0.1.4

Note

The conversion can be never perfect. The RLum objects may contain information which are not part of the Risoe.BINfileData definition.

Author(s)

Sebastian Kreutzer, Institute of Geography, Heidelberg University (Germany)

See Also

RLum.Analysis, RLum.Data.Curve, write_R2BIN

Examples


##simple conversion using the example dataset
data(ExampleData.RLum.Analysis, envir = environment())
convert_RLum2Risoe.BINfileData(IRSAR.RF.Data)


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