Learn R Programming

Luminescence (version 1.1.2)

remove_RLum: Strips records from RLum-class objects

Description

Remove records from an RLum-class object in a convenient way using get_RLum for the selection.

Usage

remove_RLum(object, ...)

# S4 method for list remove_RLum(object, ...)

# S4 method for RLum.Analysis remove_RLum(object, ...)

Value

An object of the same type as the input provided with records removed; it can result in an empty object.

Arguments

object

RLum (required): object with records to be removed.

...

parameters to be passed to get_RLum. The arguments get.index and drop are preset and have no effect when provided

Functions

  • remove_RLum(list): Returns a list of RLum objects where the selected records are stripped

  • remove_RLum(RLum.Analysis): Method to remove records from an RLum.Analysis object.

Function version

0.1.0

Author

Sebastian Kreutzer, Institute of Geography, Heidelberg University (Germany) , RLum Developer Team

How to cite

Kreutzer, S., 2025. remove_RLum(): Strips records from RLum-class objects. Function version 0.1.0. In: Kreutzer, S., Burow, C., Dietze, M., Fuchs, M.C., Schmidt, C., Fischer, M., Friedrich, J., Mercier, N., Philippe, A., Riedesel, S., Autzen, M., Mittelstrass, D., Gray, H.J., Galharret, J., Colombo, M., Steinbuch, L., Boer, A.d., 2025. Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 1.1.2. https://r-lum.github.io/Luminescence/

See Also

RLum.Analysis

Examples

Run this code
## load example data
data(ExampleData.XSYG, envir = environment())
sar <- OSL.SARMeasurement$Sequence.Object[1:9]

## strop only OSL curves
sar <- remove_RLum(sar, recordType = "OSL")
sar

Run the code above in your browser using DataLab