Hi Ramya,
Sorry if I missed something, but unless I have problems reading your
message it seems that there is no line in your example matching both
your test conditions...
Hope this helps. Olivier
> Hi there,
>
> I have a dataframe length.unique.info
>
>> > length.unique.info
>>
> abc 12 345
> def 16 550
> lmn 6 600
> I want those names that fall under the condition (length.unique.info[,2][i]
> <=5 && length.unique.info[,3][i] >=500)
>
> abcder<-length.unique.info[which(length.unique.info[,2][i] <=5
&&
> length.unique.info[,3][i] >= 500),1]
>
> will "&&" look for both the condition.It isnt returning
names is there
> anything i am missing.Kindly suggest me the way to do it.
>
> Regards
> Ramya
--
Olivier ETERRADOSSI
Ma?tre-Assistant
CMGD / Equipe "Propri?t?s Psycho-Sensorielles des Mat?riaux"
Ecole des Mines d'Al?s
H?lioparc, 2 av. P. Angot, F-64053 PAU CEDEX 9
tel std: +33 (0)5.59.30.54.25
tel direct: +33 (0)5.59.30.90.35
fax: +33 (0)5.59.30.63.68
http://www.ema.fr