Learn R Programming

Luminescence (version 0.7.1)

get_RLum: General accessor function for RLum S4 class objects

Description

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

Usage

get_RLum(object, ...)
"get_RLum"(object, null.rm = FALSE, ...)

Arguments

object
RLum (required): S4 object of class RLum or an object of type list containing only objects of type RLum
...
further arguments that will be passed to the object specific methods. For furter details on the supported arguments please see the class documentation: RLum.Data.Curve, RLum.Data.Spectrum, RLum.Data.Image, RLum.Analysis and RLum.Results
null.rm
logical (with default): option to get rid of empty and NULL objects

Value

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

Methods (by class)

  • list: Returns a list of RLum objects that had been passed to get_RLum

Function version

0.3.0 (2017-01-24 21:10:47)

How to cite

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

Details

The function provides a generalised access point for specific RLum objects. Depending on the input object, the corresponding get function will be selected. Allowed arguments can be found in the documentations of the corresponding RLum class.

See Also

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

Examples

Run this code


##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)

##get results and store them in a new object
temp.get <- get_RLum(object = temp1)


Run the code above in your browser using DataLab