Hello,

I have a large matrix (data), in which there is a column offerid. The values
are numbers (lets say 1:5)
There is another vector (idnew), which contains some of the offerids and
many more (3:10).

I want a subset of the matrix wiith only those rows, which match the
criteria of the vector.

How can I make it work?

Thanks!
-- 
View this message in context: 
http://www.nabble.com/Subsetting-matrix-with-values-from-vector-tp25450905p25450905.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
[email protected] 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