gOverview {andurinha}R Documentation

gOverview

Description

This function generates a graphic overview of the spectroscopic data.

Usage

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

# Grapic overview of your raw data
gOverview(andurinhaData)

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


[Package andurinha version 0.0.2 Index]