fast_avg_sd: Fast implementation of moving average and moving standard...

View source: R/misc.R

fast_avg_sdR Documentation

Fast implementation of moving average and moving standard deviation

Description

This function does not handle NA values

Usage

fast_avg_sd(data, window_size, rcpp = FALSE)

Arguments

data

a vector or a column matrix of numeric.

window_size

moving sd window size

rcpp

a logical. Uses rcpp implementation.

Value

Returns a list with avg and sd vectors


tsmp documentation built on Aug. 21, 2022, 1:13 a.m.