gOverview: gOverview

Description Usage Arguments Value See Also Examples

View source: R/gOverview.R

Description

This function generates a graphic overview of the spectroscopic data.

Usage

1
gOverview(data_abs, data_ndd, fontFamily = NULL)

Arguments

data_abs

A data frame, which contains in the first column the wave numbers and in the following columns the samples absorbances.

data_ndd

A data frame, which contains in the first column the wave numbers and in the following columns the samples second derivative values.

fontFamily

The desired graphic font family.

Value

If data_ndd is provided:

It returns a grid with three plots:

  • The ensemble of all samples spectra.

  • The ensemble of the second derivative spectra of all samples.

  • The average and standard deviation spectra.

If data_ndd is omitted:

It returns a grid with two plots:

  • The ensemble of all samples spectra.

  • The average and standard deviation spectra.

See Also

importSpectra, findPeaks and plotPeaks

Examples

1
2
3
4
5
6
# Grapic overview of your raw data
gOverview(andurinhaData)

# Graphic overview of your processed data by findPeaks()
fp <- findPeaks(andurinhaData)
gOverview(fp$dataZ, fp$secondDerivative)

andurinha documentation built on Aug. 13, 2020, 9:06 a.m.