convert_BIN2CSV: Export Risoe BIN-file(s) to CSV-files

Description Usage Arguments Value Function version How to cite Author(s) See Also Examples

View source: R/convert_BIN2CSV.R

Description

This function is a wrapper function around the functions read_BIN2R and write_RLum2CSV and it imports a Risoe BIN-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

1

Arguments

file

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

...

further arguments that will be passed to the function read_BIN2R 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., 2019. convert_BIN2CSV(): Export Risoe BIN-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., 2019. Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 0.9.6. https://CRAN.R-project.org/package=Luminescence

Author(s)

Sebastian Kreutzer, IRAMAT-CRP2A, Universite Bordeaux Montaigne (France) , RLum Developer Team

See Also

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
##transform Risoe.BINfileData values to a list
data(ExampleData.BINfileData, envir = environment())
convert_BIN2CSV(subset(CWOSL.SAR.Data, POSITION == 1), export = FALSE)

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

##convert
convert_BIN2CSV(file)


## End(Not run)

R-Lum/Luminescence documentation built on Dec. 5, 2019, 5:23 a.m.