[R] Re move specific rows from a matrix

mentor_ mentor_ at gmx.net
Fri Nov 7 13:21:38 CET 2008


Hi,

imagine the following two matrix:
Matrix A:
a b c
1 2 3
4 5 6
7 8 9

Matrix B:
a
4
7

I would like to remove those rows from matrix A which are present in both
matrices.
So after removing the corresponding rows the matrix A should look like this:
Matrix A:
a b c
1 2 3

Thanks in advance!
-- 
View this message in context: http://www.nabble.com/Remove-specific-rows-from-a-matrix-tp20379566p20379566.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list