gistlib
other r categories
window code snippets in r
split a time series data to windows of length 10. then for each window, find the closest 5 preceding neighbors using weighted euclidean distance in r
take a list and find the maximum element in every 10 element window in r
gistlib
by LogSnag