baselineGUI {baseline}R Documentation

Interactive plotting tool

Description

An interactive plotting tool for dynamic visualization of baselines and their effect using the gWidgets2 package with GTK+ or Tcl/Tk.

Usage

baselineGUI(spectra, method='irls', labels, rev.x = FALSE)

Arguments

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)

Details

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.

Author(s)

Kristian Hovde Liland and Bjørn-Helge Mevik

Examples

data(milk)
## Not run: 
# Dependent on external software
baselineGUI(milk$spectra)

## End(Not run)

[Package baseline version 1.3-1 Index]