combine_DataFiles {BayLum}R Documentation

Old function Concat_DataFile()

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:

Value

A nested list combining the input objects.

Function version

0.1.1

How to cite

Kreutzer, S., Christophe, C., 2020. combine_DataFiles(): Old function Concat_DataFile(). Function version 0.1.1. In: Christophe, C., Philippe, A., Kreutzer, S., Guerin, G., 2020. BayLum: Chronological Bayesian Models Integrating Optically Stimulated. R package version 0.2.0. https://CRAN.r-project.org/package=BayLum

Author(s)

Sebastian Kreutzer, IRAMAT-CRP2A, UMR 5060, CNRS - Université Bordeaux Montaigne (France), adapting the idea from the function 'Concat_DataFile()' by Claire Christophe.

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)

[Package BayLum version 0.2.0 Index]