This function does not handle NA values
fast_movsd(data, window_size, rcpp = FALSE)
data | a |
---|---|
window_size | moving sd window size |
rcpp | a |
Returns a vector
with the moving standard deviation
data_sd <- fast_movsd(mp_toy_data$data[, 1], mp_toy_data$sub_len)