This matches the reference gas intensity of mass 44 to the sample gas intensity of mass 44 through linear interpolation (option method = "linterp"), and then applies this same offset to the other masses.

match_intensities(
  .data,
  ...,
  method = "normal",
  masses = c(44:49, 54),
  quiet = NULL
)

Arguments

.data

A tibble with s44–s49 and r44–r49; output of spread_intensities().

...

These dots are for future extensions and must be empty.

method

"linterp" for linear interpolation, or "normal" for conventional bracketing of sample gas.

masses

The masses to generate r and s columns from.

quiet

If TRUE, print info messages. If NULL (default) listens to options(clumpedr.quiet)