This function does not handle NA values
fast_movsd(data, window_size, rcpp = FALSE)
a vector
or a column matrix
of numeric
.
moving sd window size
a logical
. Uses rcpp implementation.
Returns a vector
with the moving standard deviation
data_sd <- fast_movsd(mp_toy_data$data[, 1], mp_toy_data$sub_len)