Dear All, I'm trying to create this: I've these data (a, b,c, etc. are numbers) :
1 a b 2 c d f 3 g 4 h ... N I'm trying to create the all "time series permutations" (length = N) taking account the possibilities for each value. For example (N=4), 1 a 2 c 3 g 4 h next, 1 b 2 c 3 g 4 h next 1 a 2 d 3 g 4 h and so on. For this example, there are 2*3 different (possibilities) time series, but I need to do, v. gr., N = 100, and 2^14 different (possibilities) time series. I am wondering if somebody could give me a hint (suggestion) to make this using a function in R. thank you so much best regards -- Josue Polanco ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.