Dear all, Is there a way to compute and list all combinations with replication of two elements in sets of 8 elemnts? For example, I've two elements, 0 and 1, and I would to get all possible combinations with replication such as, for example, 00000000, 00000001, 00000010, and so on. They are 2^8 and it's very hard to list handly!! Thank you Marina -- View this message in context: http://www.nabble.com/combinations-with-replications-tp18750825p18750825.html Sent from the R help mailing list archive at Nabble.com.
______________________________________________ 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.