The integral of the spectrum between the given limits will be used as a normalization factor. This assumes that the selected peak intensity in independent of the experimental conditions.

normalize_internalStandard(x, ...)

# S3 method for collection
normalize_internalStandard(x, from, to, skip = FALSE, ...)

Arguments

x

Acollection object

...

arguments to be passed to extract

from, to

Coordinates of the region to use as standard.

skip

Skip the creation of of processor step. If TRUE, this step will not be added to the list of processing steps. Typically reserved for nested function calls.

Value

An updated version of collection.

Examples

library(tidySpectR) normalize_internalStandard(fa_nmr, from = 3, to = 3.5)
#> Spectra collection containing 6 entries. #> Number of bins: 2250 #> Limits: -2.123166e-05 8.999979 #> Labels: conventional organic #> #> Processing: #> Step 1 / 1 : internalStandard_normalization