check_ftir_data {PlotFTIR}R Documentation

Check FTIR Data

Description

Check provided FTIR dataframe is appropriate for manipulation or plotting Not typically called directly, but as a function in data integrety check process before further calculation or plotting happens

Usage

check_ftir_data(ftir, fn)

Arguments

ftir

A data.frame of FTIR spectral data including column to be converted. Can't contain both 'absorbance' and 'transmittance' column.

fn

The name of the function, used in printing error codes.

Value

invisible ftir data if ok, typically called for effect of failure.


[Package PlotFTIR version 1.0.0 Index]