SNRbaseline: SNR baseline

View source: R/SNRbaseline.R

SNRbaselineR Documentation

SNR baseline

Description

This function calculates S/N using local noise levels from baseline,

Usage

SNRbaseline(int, baseline)

Arguments

int

a vector of intensities corresponding to the vector of retention times for the chromatographic peak.

baseline

a vector of baseline of the chromatographic peak.

Value

S/N value

Examples

data("peak_spline")
int <- peak_spline[, 2]
baseline <- peak_spline[, 3]
SNRbaseline(int, baseline)

IDSL.IPA documentation built on June 7, 2023, 6:01 p.m.