Learn R Programming

Luminescence (version 1.0.0)

smooth_RLum: Smoothing of data for RLum S4-class objects

Description

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

Usage

smooth_RLum(object, ...)

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

Value

An object of the same type as the input object provided.

Arguments

object

RLum (required): S4 object of class RLum

...

further arguments passed to the specific class method

Functions

  • smooth_RLum(list): Returns a list of RLum objects that had been passed to smooth_RLum

Function version

0.1.0

Author

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

How to cite

Kreutzer, S., 2025. smooth_RLum(): Smoothing of data for RLum S4-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.0.0. https://r-lum.github.io/Luminescence/

See Also

RLum.Data.Curve, RLum.Analysis

Examples

Run this code

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

## create RLum.Data.Curve object from this example
curve <-
  set_RLum(
      class = "RLum.Data.Curve",
      recordType = "OSL",
      data = as.matrix(ExampleData.CW_OSL_Curve)
  )

## plot data without and with smoothing
plot_RLum(curve)
plot_RLum(smooth_RLum(curve))

Run the code above in your browser using DataLab