Learn R Programming

Luminescence (version 0.7.1)

convert_PSL2CSV: Export PSL-file(s) to CSV-files

Description

This function is a wrapper function around the functions read_PSL2R and write_RLum2CSV and it imports an PSL-file (SUERC portable OSL reader file format) 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_PSL2CSV(file, ...)

Arguments

file
character (required): name of the PSL-file to be converted to CSV-files
...
further arguments that will be passed to the function read_PSL2R 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 link{data.frame} and matrix

Function version

0.1.0 (2017-01-24 21:10:47)

How to cite

Kreutzer, S. (2017). convert_PSL2CSV(): Export PSL-file(s) to CSV-files. Function version 0.1.0. In: Kreutzer, S., Dietze, M., Burow, C., Fuchs, M.C., Schmidt, C., Fischer, M., Friedrich, J. (2017). Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 0.7.1. https://CRAN.R-project.org/package=Luminescence

See Also

RLum.Analysis, RLum.Data, RLum.Results, write.table, write_RLum2CSV, read_PSL2R

Examples

Run this code

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

Run the code above in your browser using DataLab