Learn R Programming

tsmp (version 0.4.15)

fast_avg_sd: 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)

Value

Returns a list with avg and sd

vectors

Arguments

data

a vector or a column matrix of numeric.

window_size

moving sd window size

rcpp

a logical. Uses rcpp implementation.