Hello I am trying to compare a vector with a Matrix's rows.The vector has
the same length as the number of columns of the matrix, and I would like to
find the row numbers where the matrix's row us the same as the given vector.
What I am doing at the moment is using apply as follows:

apply(Matrix,1,function(x)all(x%in%LHS))

but this isn't too fast actually. I would like  to know if any body knows an
efficient (fast) way of doing this? The matrix contains stings (not
numbers).

Thank you

Felipe Parra

	[[alternative HTML version deleted]]

