View source: R/peakWidthCalculator.R
peakWidthCalculator | R Documentation |
This function measures peak width at different peak heights.
peakWidthCalculator(rt, int, gauge)
rt |
a vector of retention times of the chromatographic peak. |
int |
a vector of intensities of the chromatographic peak. |
gauge |
a height gauge to measure the peak width. This parameter should be between 0-1. |
A peak width at the guaged height.
data("peak_spline")
rt <- peak_spline[, 1]
int <- peak_spline[, 2] - peak_spline[, 3]
gauge <- 0.5
peakWidthCalculator(rt, int, gauge)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.