View source: R/combine_DataFiles.R
combine_DataFiles | R Documentation |
Combine objects generated by Generate_DataFile and Generate_DataFile_MG
combine_DataFiles(...) Concat_DataFile(...)
... |
list objects generated by Generate_DataFile or Generate_DataFile_MG |
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.
A nested list combining the input objects.
0.1.1
Kreutzer, S., Christophe, C., 2022. combine_DataFiles(): Old function Concat_DataFile(). Function version 0.1.1. In: Christophe, C., Philippe, A., Kreutzer, S., Guerin, G., 2022. BayLum: Chronological Bayesian Models Integrating Optically Stimulated. R package version 0.2.1. https://CRAN.r-project.org/package=BayLum
Sebastian Kreutzer, IRAMAT-CRP2A, UMR 5060, CNRS - Université Bordeaux Montaigne (France), adapting the idea from the function 'Concat_DataFile()' by Claire Christophe.
Generate_DataFile, Generate_DataFile_MG
# load data files data(DATA1,envir = environment()) data(DATA2,envir = environment()) #combine objects DATA3 <- combine_DataFiles(DATA1, DATA2) str(DATA3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.