split_window function

split xts object iteratively in lists of desired intervals