R/misc.R
fast_avg_sd.Rd
This function does not handle NA values
fast_avg_sd(data, window_size, rcpp = FALSE)
a vector or a column matrix of numeric.
vector
matrix
numeric
moving sd window size
a logical. Uses rcpp implementation.
logical
Returns a list with avg and sd
list
avg
sd
vectors