permutation of vectors (1 or 0)
On 12/20/2012 02:13 PM, arun wrote:
library(gtools) permutations(2,10,0:1,repeats.allowed=TRUE)
Thanks, this is exactly what I need. Regards, Olga
library(gtools) permutations(2,10,0:1,repeats.allowed=TRUE)
Thanks, this is exactly what I need. Regards, Olga