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
vector
s
Arguments
- data
a vector
or a column matrix
of numeric
.
- window_size
moving sd window size
- rcpp
a logical
. Uses rcpp implementation.