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:
> 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!

______________________________________________
R-help@r-project.org 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