[R] permutation of vectors (1 or 0)
Olga Lyashevska
olga at herenstraat.nl
Thu Dec 20 14:24:24 CET 2012
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
More information about the R-help
mailing list