gistlib
other r categories
sliding windows code snippets in r
split a time series data to windows of length 10. then for each window, find the closest 5 neighbors from past in r
gistlib
by LogSnag