[R] constrained sample
    Rogério Rosa da Silva 
    rrsilva at ib.usp.br
       
    Thu May  6 18:55:18 CEST 2004
    
    
  
Dear List,
Is there an way to do a randomization (with sample) on a column and that 
maintain fixed the occurrence totals (i.e, numbers different of zeros) on a 
factor column ?
Thanks in advance
-- 
Rogério R. Silva
MZUSP http://www.mz.usp.br
Linux User #354364
Linux counter http://counter.li.org
# description file:
factors	occurrence
A	1
A	7
A	5
A	0
B	1
B	5
B	0
B	0
C	3
C	4
C	5
C	0
D	0
D	0
D	0
D	1
    
    
More information about the R-help
mailing list