baselineGUI | R Documentation |
An interactive plotting tool for dynamic visualization of baselines and their effect using the gWidgets2 package with GTK+ or Tcl/Tk.
baselineGUI(spectra, method='irls', labels, rev.x = FALSE)
spectra |
Matrix with spectra in rows |
method |
Baseline correction method (optional) |
labels |
Labels for X-axis (optional) |
rev.x |
Reverse X-axis (optional, default=FALSE) |
Creates and updates a list containing current baseline and spectrum (baseline.result). Make sure a gWidget2 implementation is available, e.g gWidgets2RGtk2 or gWidgets2tcltk and a corresponding backend like GTK+ or Tcl/Tk. The GUI was developed using GTK which is an external dependency in Windows ans OS X.
Kristian Hovde Liland and Bjørn-Helge Mevik
data(milk)
## Not run:
# Dependent on external software
baselineGUI(milk$spectra)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.