merge_RLum: General merge function for RLum S4 class objects

Description Usage Arguments Details Value Function version How to cite Note Author(s) See Also Examples

View source: R/merge_RLum.R

Description

Function calls object-specific merge functions for RLum S4 class objects.

Usage

1

Arguments

objects

list of RLum (required): list of S4 object of class RLum

...

further arguments that one might want to pass to the specific merge function

Details

The function provides a generalised access point for merge specific RLum objects. Depending on the input object, the corresponding merge function will be selected. Allowed arguments can be found in the documentations of each merge function. Empty list elements (NULL) are automatically removed from the input list.

object corresponding merge function
RLum.Data.Curve : merge_RLum.Data.Curve
RLum.Analysis : merge_RLum.Analysis
RLum.Results : merge_RLum.Results

Value

Return is the same as input objects as provided in the list.

Function version

0.1.2

How to cite

Kreutzer, S., 2020. merge_RLum(): General merge function for RLum S4 class objects. Function version 0.1.2. In: Kreutzer, S., Burow, C., Dietze, M., Fuchs, M.C., Schmidt, C., Fischer, M., Friedrich, J., 2020. Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 0.9.7. https://CRAN.R-project.org/package=Luminescence

Note

So far not for every RLum object a merging function exists.

Author(s)

Sebastian Kreutzer, IRAMAT-CRP2A, Universite Bordeaux Montaigne (France) , RLum Developer Team

See Also

RLum.Data.Curve, RLum.Data.Image, RLum.Data.Spectrum, RLum.Analysis, RLum.Results

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
##Example based using data and from the calc_CentralDose() function

##load example data
data(ExampleData.DeValues, envir = environment())

##apply the central dose model 1st time
temp1 <- calc_CentralDose(ExampleData.DeValues$CA1)

##apply the central dose model 2nd time
temp2 <- calc_CentralDose(ExampleData.DeValues$CA1)

##merge the results and store them in a new object
temp.merged <- get_RLum(merge_RLum(objects = list(temp1, temp2)))

R-Lum/Luminescence documentation built on Jan. 4, 2020, 10:44 p.m.