Last data update: 2014.03.03

R: Plot function for an RLum.Data.Curve S4 class object
plot_RLum.Data.CurveR Documentation

Plot function for an RLum.Data.Curve S4 class object

Description

The function provides a standardised plot output for curve data of an RLum.Data.Curve S4 class object

Usage

plot_RLum.Data.Curve(object, par.local = TRUE, norm = FALSE,
  smooth = FALSE, ...)

Arguments

object

RLum.Data.Curve (required): S4 object of class RLum.Data.Curve

par.local

logical (with default): use local graphical parameters for plotting, e.g. the plot is shown in one column and one row. If par.local = FALSE, global parameters are inherited.

norm

logical (with default): allows curve normalisation to the highest count value

smooth

logical (with default): provides an automatic curve smoothing based on rollmean

...

further arguments and graphical parameters that will be passed to the plot function

Details

Only single curve data can be plotted with this function. Arguments according to plot.

Value

Returns a plot.

Function version

0.2.0 (2016-05-02 09:36:06)

Note

Not all arguments of plot will be passed!

Author(s)

Sebastian Kreutzer, IRAMAT-CRP2A, Universite Bordeaux Montaigne (France)
R Luminescence Package Team

References

#

See Also

plot, plot_RLum

Examples



##plot curve data

#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.Data.Curve object
plot_RLum.Data.Curve(temp)


Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(Luminescence)
Welcome to the R package Luminescence version 0.6.0 [Built: 2016-05-30 16:47:30 UTC]
The R-package Luminescence manual: 'Call unto me, and I will answer thee, and will shew thee great things, and difficult, which thou knowest not.'
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Luminescence/plot_RLum.Data.Curve.Rd_%03d_medium.png", width=480, height=480)
> ### Name: plot_RLum.Data.Curve
> ### Title: Plot function for an RLum.Data.Curve S4 class object
> ### Aliases: plot_RLum.Data.Curve
> ### Keywords: aplot
> 
> ### ** Examples
> 
> 
> 
> ##plot curve data
> 
> #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.Data.Curve object
> plot_RLum.Data.Curve(temp)
> 
> 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>