I am looking for a way to randomly select intervals equal length from time series data from the following time series. Everything I found so far, either did not have the option to randomly select intervals (but only single values) or does only have the option to specifically select a certain range of data points that should be selected. Perhaps someone has a good solution to randomly select intervals of 100 consecutive data points from the following list:
x = seq(1, 1000, 1)
y = seq(1, 1000, 0.5)
z = seq(1, 2000, 1)
w = seq(1, 2000, 2)
list1 = list(x, y, z, w)
I appreciate any help!
Best, Johnson
Aucun commentaire:
Enregistrer un commentaire