appac: Atmospheric Pressure Peak Area Correction for Gas Chromatography with Standard Detectors

Corrects gas-chromatography peak areas for the influence of ambient air pressure on standard detectors open to the ambient atmosphere, such as the flame ionization detector, whose pressure sensitivity was characterised by Bocek, Novak and Janak (1969) <doi:10.1016/S0021-9673(00)99223-9>. Unlike the pressure compensation of Ayers and Clardy (1985) <https://patents.google.com/patent/US4512181A>, which is combined with a calibration and valid only for a single calibration period of a few days, per-cylinder peak areas are decomposed by principal components into a pressure-correlated component and per-peak drift; a common pressure-sensitivity coefficient (kappa) is estimated with a heavy-tail-robust fit on a drift-reduced signal, and slow drift plus a daily factor are removed. Returns the corrected areas together with a chi-square goodness-of-fit diagnostic. Structural-break detection (package 'strucchange', Zeileis and others (2002) <doi:10.18637/jss.v007.i02>) is provided for episode-level and variance breakpoint analysis.

Version: 4.0.3
Depends: R (≥ 4.0.0)
Imports: methods, stats, utils, data.table, dplyr, tibble, purrr, kza, robustbase, strucchange
Suggests: ggplot2, patchwork, knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-07-15
DOI: 10.32614/CRAN.package.appac (may not be active yet)
Author: Ruediger Forster ORCID iD [aut, cre]
Maintainer: Ruediger Forster <meticulous.measurements at gmail.com>
License: GPL-3
NeedsCompilation: no
Citation: appac citation info
Materials: README, NEWS
CRAN checks: appac results

Documentation:

Reference manual: appac.html , appac.pdf
Vignettes: APPAC: correcting GC peak areas for atmospheric pressure (source, R code)

Downloads:

Package source: appac_4.0.3.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=appac to link to this page.