Luminescence (version 0.8.6)

PSL2Risoe.BINfileData: Convert portable OSL data to an Risoe.BINfileData object

Description

Converts an RLum.Analysis object produced by the function read_PSL2R() to an Risoe.BINfileData object (BETA).

Usage

PSL2Risoe.BINfileData(object, ...)

Arguments

object

'>RLum.Analysis (required): RLum.Analysis object produced by read_PSL2R

...

currently not used.

Value

Returns an S4 '>Risoe.BINfileData object that can be used to write a BIN file using write_R2BIN.

Function version

0.0.1 (2018-01-21 17:22:38)

How to cite

Burow, C. (2018). PSL2Risoe.BINfileData(): Convert portable OSL data to an Risoe.BINfileData object. Function version 0.0.1. In: Kreutzer, S., Burow, C., Dietze, M., Fuchs, M.C., Schmidt, C., Fischer, M., Friedrich, J. (2018). Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 0.8.6. https://CRAN.R-project.org/package=Luminescence

Details

This function converts an '>RLum.Analysis object that was produced by the read_PSL2R function to an '>Risoe.BINfileData. The Risoe.BINfileData can be used to write a Risoe BIN file via write_R2BIN.

See Also

'>RLum.Analysis, '>RLum.Data.Curve, '>Risoe.BINfileData

Examples

Run this code
# NOT RUN {
# (1) load and plot example data set
data("ExampleData.portableOSL", envir = environment())
plot_RLum(ExampleData.portableOSL)

# (2) merge all RLum.Analysis objects into one
merged <- merge_RLum(ExampleData.portableOSL)
merged

# (3) convert to RisoeBINfile object
bin <- PSL2Risoe.BINfileData(merged)
bin

# (4) write Risoe BIN file
# }
# NOT RUN {
write_R2BIN(bin, "~/portableOSL.binx")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab