Package: ADPF 0.0.1

ADPF: Use Least Squares Polynomial Regression and Statistical Testing to Improve Savitzky-Golay

This function takes a vector or matrix of data and smooths the data with an improved Savitzky Golay transform. The Savitzky-Golay method for data smoothing and differentiation calculates convolution weights using Gram polynomials that exactly reproduce the results of least-squares polynomial regression. Use of the Savitzky-Golay method requires specification of both filter length and polynomial degree to calculate convolution weights. For maximum smoothing of statistical noise in data, polynomials with low degrees are desirable, while a high polynomial degree is necessary for accurate reproduction of peaks in the data. Extension of the least-squares regression formalism with statistical testing of additional terms of polynomial degree to a heuristically chosen minimum for each data window leads to an adaptive-degree polynomial filter (ADPF). Based on noise reduction for data that consist of pure noise and on signal reproduction for data that is purely signal, ADPF performed nearly as well as the optimally chosen fixed-degree Savitzky-Golay filter and outperformed sub-optimally chosen Savitzky-Golay filters. For synthetic data consisting of noise and signal, ADPF outperformed both optimally chosen and sub-optimally chosen fixed-degree Savitzky-Golay filters. See Barak, P. (1995) <doi:10.1021/ac00113a006> for more information.

Authors:Phillip Barak [aut], Samuel Kruse [cre, aut]

ADPF_0.0.1.tar.gz
ADPF_0.0.1.zip(r-4.5)ADPF_0.0.1.zip(r-4.4)ADPF_0.0.1.zip(r-4.3)
ADPF_0.0.1.tgz(r-4.4-any)ADPF_0.0.1.tgz(r-4.3-any)
ADPF_0.0.1.tar.gz(r-4.5-noble)ADPF_0.0.1.tar.gz(r-4.4-noble)
ADPF_0.0.1.tgz(r-4.4-emscripten)ADPF_0.0.1.tgz(r-4.3-emscripten)
ADPF.pdf |ADPF.html
ADPF/json (API)

# Install 'ADPF' in R:
install.packages('ADPF', repos = c('https://samdkruse.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • CHROM - Data frame of Chromatogram values

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1 exports 0.00 score 0 dependencies 2 scripts 320 downloads

Last updated 7 years agofrom:9769bf223f. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 14 2024
R-4.5-winOKSep 14 2024
R-4.5-linuxOKSep 14 2024
R-4.4-winOKSep 14 2024
R-4.4-macOKSep 14 2024
R-4.3-winOKSep 14 2024
R-4.3-macOKSep 14 2024

Exports:ADPF

Dependencies: