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