Dear list, I'm needing submit values (V1 = 8,6,4,3,1,2,9) (Id = 2:8) of a data.frame (DF), like below Id V1 V2 ... 1 0 1 ... 2 8 10 ... 3 6 2 ... 4 4 4 ... 5 3 7 ... 6 1 8 ... 7 2 6 ... 8 9 7 ... 9 6 1 ... 10 5 4 ... to selection (>=2 and <8) for remanescents like below: Id V1 V2 ... 1 . 1 ... 2 . 10 ... 3 6 2 ... 4 4 4 ... 5 3 7 ... 6 . 8 ... 7 2 6 ... 8 . 7 ... 9 6 1 ... 10 5 4 ... or Id V1 V2 ... 1 . . ... 2 . . ... 3 6 2 ... 4 4 4 ... 5 3 7 ... 6 . . ... 7 2 6 ... 8 . 7 ... 9 6 . ... 10 5 4 ... How to do this betther with R? Is there a command to compare all to same time? I would be very thankful. Yours sincerly Att. Jos? Cl?udio Faria UESC/DCET Brasil 73-634.2779 joseclaudio.faria at terra.com.br jc_faria at uol.com.br