Smoothing a GCIMS chromatogram using a Savitzky-Golay filter

# S4 method for GCIMSChromatogram
smooth(x, rt_length_s = 3, rt_order = 2L)

Arguments

x

A GCIMSChromatogram object

rt_length_s

The length of the filter in retention time (in s)

rt_order

The order of the filter in retention time

Value

The modified GCIMSChromatogram