| .sits_signal_sgolayfilt {sits} | R Documentation |
Smooth the data in x with a Savitsky-Golay smoothing filter of polynomial order p and length n, n odd, n > p. By default, p=3 and n=p+2 or n=p+3 if p is even. This filters is particularly good at preserving lineshape while removing high frequency squiggles
.sits_signal_sgolayfilt(x, p = 3, n = p + 3 - p%%2, m = 0, ts = 1)
x |
Time series vector. |
p |
Filter order (integer). |
n |
Filter length (must be odd) |
m |
Derivative to calculate (default = 0) |
ts |
Time scaling (integer). |
A time series with filtered values.