combine_DataFiles {BayLum} | R Documentation |
Combine objects
Description
Combine objects generated by Generate_DataFile and Generate_DataFile_MG
Usage
combine_DataFiles(...)
Concat_DataFile(...)
Arguments
... |
list objects generated by Generate_DataFile or Generate_DataFile_MG |
Details
The function allows to combine data already generated by Generate_DataFile or
Generate_DataFile_MG. The number of input objects is not limited and the function
works similar to the standard base R function c()
, but preserves the particular structure of the
objects imported and generated by 'BayLum'. The elements are combined by list
element names.
Combining such data is rather useful in two scenarios:
The data have been already imported and treated and then stored in RData-files. Using the function
combine_DataFiles()
will significantly speed up the processing time,simultaneous analysis of single and multi-grain OSL measurements.
Value
A nested list combining the input objects.
Function version
0.1.1
Author(s)
Sebastian Kreutzer, IRAMAT-CRP2A, UMR 5060, CNRS - Université Bordeaux Montaigne (France), adapting the idea from the function 'Concat_DataFile()' by Claire Christophe. , RLum Developer Team
See Also
Generate_DataFile, Generate_DataFile_MG
Examples
# load data files
data(DATA1,envir = environment())
data(DATA2,envir = environment())
#combine objects
DATA3 <- combine_DataFiles(DATA1, DATA2)
str(DATA3)