I\'m working with a data frame that has multiple sequences in it.
Example:
df <- data.frame(time=(1:15),value = runif(15,0,1),window=c("start"