On Nov 3, 2011, at 3:21 PM, mstepano wrote:
I forget to mention that the vectors are ordered. I think that one
of the
possible solutions is to use lapply, i.e.,
< T %in% lapply(allv, function(x,y) all.equal(x,y),y=somev)
[1] TRUE
all.equal worked fine when the answer was 'true' but not so
I forget to mention that the vectors are ordered. I think that one of the
possible solutions is to use lapply, i.e.,
< T %in% lapply(allv, function(x,y) all.equal(x,y),y=somev)
[1] TRUE
--
View this message in context:
http://r.789695.n4.nabble.com/Searching-elements-in-list-tp3987066p3987487.h
2 matches
Mail list logo