Luminescence (version 0.8.6)

plot_RLum: General plot function for RLum S4 class objects

Description

Function calls object specific plot functions for RLum S4 class objects.

Usage

plot_RLum(object, ...)

Arguments

object

'>RLum (required): S4 object of class RLum. Optional a list containing objects of class '>RLum can be provided. In this case the function tries to plot every object in this list according to its RLum class.

...

further arguments and graphical parameters that will be passed to the specific plot functions. The only argument that is supported directly is main (setting the plot title). In contrast to the normal behaviour main can be here provided as list and the arguments in the list will dispatched to the plots if the object is of type list as well.

Value

Returns a plot.

Function version

0.4.3 (2018-01-21 17:22:38)

How to cite

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

Details

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

object corresponding plot function
'>RLum.Data.Curve : plot_RLum.Data.Curve
'>RLum.Data.Spectrum : plot_RLum.Data.Spectrum
'>RLum.Data.Image : plot_RLum.Data.Image
'>RLum.Analysis : plot_RLum.Analysis

See Also

plot_RLum.Data.Curve, '>RLum.Data.Curve, plot_RLum.Data.Spectrum, '>RLum.Data.Spectrum, plot_RLum.Data.Image, '>RLum.Data.Image, plot_RLum.Analysis, '>RLum.Analysis, plot_RLum.Results, '>RLum.Results

Examples

Run this code
# NOT RUN {
#load Example data
data(ExampleData.CW_OSL_Curve, envir = environment())

#transform data.frame to RLum.Data.Curve object
temp <- as(ExampleData.CW_OSL_Curve, "RLum.Data.Curve")

#plot RLum object
plot_RLum(temp)


# }

Run the code above in your browser using DataCamp Workspace