use the trick from this thread:
https://stat.ethz.ch/pipermail/r-help/2008-November/178985.html
your problem shall be fixed
On Fri, Nov 7, 2008 at 8:21 PM, mentor_ <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> imagine the following two matrix:
> Matrix A:
> a b c
> 1 2 3
> 4 5 6
> 7 8 9
>
> Matrix B:
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!
--
2 matches
Mail list logo