convert_XSYG2CSV: Export XSYG-file(s) to CSV-files

View source: R/convert_XSYG2CSV.R

convert_XSYG2CSVR Documentation

Export XSYG-file(s) to CSV-files

Description

This function is a wrapper function around the functions read_XSYG2R and write_RLum2CSV and it imports an XSYG-file and directly exports its content to CSV-files. If nothing is set for the argument path (write_RLum2CSV) the input folder will become the output folder.

Usage

convert_XSYG2CSV(file, ...)

Arguments

file

character (required): name of the XSYG-file to be converted to CSV-files

...

further arguments that will be passed to the function read_XSYG2R and write_RLum2CSV

Value

The function returns either a CSV-file (or many of them) or for the option export = FALSE a list comprising objects of type data.frame and matrix

Function version

0.1.0

How to cite

Kreutzer, S., 2023. convert_XSYG2CSV(): Export XSYG-file(s) to CSV-files. Function version 0.1.0. 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., 2023. Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 0.9.23. https://CRAN.R-project.org/package=Luminescence

Author(s)

Sebastian Kreutzer, Institute of Geography, Heidelberg University (Germany) , RLum Developer Team

See Also

RLum.Analysis, RLum.Data, RLum.Results, utils::write.table, write_RLum2CSV, read_XSYG2R

Examples


##transform XSYG-file values to a list
data(ExampleData.XSYG, envir = environment())
convert_XSYG2CSV(OSL.SARMeasurement$Sequence.Object[1:10], export = FALSE)

## Not run: 
##select your BIN-file
file <- file.choose()

##convert
convert_XSYG2CSV(file)


## End(Not run)


Luminescence documentation built on Nov. 3, 2023, 5:09 p.m.