Dear useRs,

I am currently doing some data cleaning and data manipulation and I have the
following problem.
I have two vectors. Let say the size of the first one is 10 000 (vector 1)
and the size of the second one is 1 000 000 (vector 2).

I need to know for each cell of vector 1 which cells of vector 2 correspond.

I tried to combine the "which" and "apply"  but I dit not succeed and  I
have no idea about a possible vectorization.

Can someone help me ?

Thanks

Guillaume

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to