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_ <mentor_ at gmx.net>
wrote:>
> 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!