Wrapped function to quickly convert BIN/BINX files to xlum (files)

convert_binx2xlum(file, out_file = NULL, ...)

convert_bin2xlum(file, out_file = NULL)

Arguments

file

character (required): file

out_file

character (optional): output file, if set a file output is created

...

support for a limited number of additional arguments to be forwarded to Luminescence::read_BIN2R: position, n.records

Value

Depending on the setting. If out_file == NULL an xml2::xml_document object is returned, if file is set the function attempts to write an *.xlum file`.

Function version

0.1.0

Author

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

How to cite

Kreutzer, S., 2022. convert_binx2xlum(): Convert Risø BIN/BINX to XLUM. Function version 0.1.0. In: Kreutzer, S., 2022. xlum: Read, Write, and Convert XLUM Data. R package version 0.1.0.

Examples


if (FALSE) {
file <- system.file("extdata/BINfile_V8.binx", package = "Luminescence")
convert_binx2xlum(file)
}