Learn R Programming

Luminescence (version 0.3.1)

merge_Risoe.BINfileData: Merge Risoe.BINfileData objects or Risoe BIN-files

Description

Function allows merging Risoe BIN files or Risoe.BINfileData objects.

Usage

merge_Risoe.BINfileData(input.objects, output.file, keep.position.number = FALSE)

Arguments

input.objects
character or Risoe.BINfileData (required): Character vector with path and files names (e.g. input.objects = c("path/file1.bin", "path/file2.bin")
output.file
character (optional): File output path and name. If no value is given, a Risoe.BINfileData is returned instead of a file.
keep.position.number
logical (with default): Allows keeping the original position numbers of the input objects. Otherwise the positions numbers a recalculated.

Value

  • Returns a file or a Risoe.BINfileData object.

Details

The function allows mering different measurements to one file or one object. The record IDs are recalculated for the new object. Other values are kept for each object. The number of input objects is not limited.

References

Duller, G., 2007. Analyst.

See Also

Risoe.BINfileData, readBIN2R, writeR2BIN

Examples

Run this code
##merge two objects
data(ExampleData.BINfileData, envir = environment())

object1 <- CWOSL.SAR.Data
object2 <- CWOSL.SAR.Data

object.new <- merge_Risoe.BINfileData(c(object1, object2))

Run the code above in your browser using DataLab