Hi,

Let say I haveĀ 2 binary vectors of length 'd', therefore both these vectors can 
take only 0-1 values. Now I want to simulate all possible pairs of them. 
Theoretically there will be 4^d possible pairs.

Is there any R function to directly simulate them?

Thanks for your help.

______________________________________________
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.

Reply via email to