Learn R Programming

openair (version 3.0.0)

rolling_gaussian_cpp: Fast Rolling Gaussian Smoother

Description

Fast Rolling Gaussian Smoother

Usage

rolling_gaussian_cpp(x, sigma, threshold = 0.5)

Arguments

x

Numeric vector to smooth

sigma

Standard deviation of the Gaussian kernel

threshold

Min fraction of valid data in window (0-1)