l would like to create the following matrice
  
  treatmentgrp            strata
                   1    1          1    1          1    1          1    2          1    2          1    2          2    1          2    1          2    1          2    2          2    2          2    2       l should be able to choose the size of the treatment grps and stratas the method l used intially creates the matrice randomly
  
n=20
  
m <- cbind( treatmentgrp  = sample( 1:2,n, replace=T ),
  
              strata        = sample( 1:2, n, replace=T ),
  
              survivalTime  = rexp( n, rate=0.07 ),
  
              somethingElse = rexp( n, rate=0.02 ) 
       
    thanks
  
  
       
---------------------------------
Give spam the boot. Take control with tough spam protection

	[[alternative HTML version deleted]]

