[R] Dataframe help
Rajasekaramya
ramya.victory at gmail.com
Wed Nov 5 17:03:48 CET 2008
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
--
View this message in context: http://www.nabble.com/Dataframe-help-tp20343288p20343288.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list