sg_smooth_cpp: Savitzky-Golay Filter for Matrix (Row-wise)

View source: R/RcppExports.R

sg_smooth_cppR Documentation

Savitzky-Golay Filter for Matrix (Row-wise)

Description

Smooths each row of a matrix using a Savitzky-Golay filter.

Usage

sg_smooth_cpp(x, window_size, order, deriv, n_cores = 1L)

Arguments

x

Matrix to smooth row-wise

window_size

Size of the filter window (must be odd)

order

Polynomial order

deriv

Derivative order (0=smooth, 1=first deriv, etc.)

n_cores

Number of cores to use


ICEbox documentation built on Jan. 12, 2026, 9:06 a.m.

Related to sg_smooth_cpp in ICEbox...