I want to create a randomly generated 25*15 binary matrix knowing what the 
colSums and rowSums of this matrix should be. 

colSums(a) 
[1] 3 7 2 5 0 4 6 5 5 4 3 4 4 5... 
rowSums(a) 
[1] 8 6 6 6 6 6 5 5 5 5 4 4 4... 
 

.                                      .
Baptiste  Coulmont
coulm...@yahoo.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.

Reply via email to