[R] matrix comparison, and cbind issues.
H. Paul Benton
hpbenton at scripps.edu
Wed Nov 29 21:22:13 CET 2006
Mark,
A and B will probably be different sizes. Won't 'C<-A-B' just do the
subtraction of matrix A by matrix B?
So What I was thinking was that it would find 2 numbers one at position 6
and the other at position 9. If it finds roughtly these numbers in matrix B
then it will identify this and remove that row from matrix A.
Paul
-----Original Message-----
From: Leeds, Mark (IED) [mailto:Mark.Leeds at morganstanley.com]
Sent: Wednesday, November 29, 2006 12:12 PM
To: H. Paul Benton
Subject: RE: [R] matrix comparison, and cbind issues.
If A and B are the same size ( I can't tell ),then you can C<-A-B to get
the dfiference but that might
Be simplifying things too much.
If it isn't simplifying thigns too, then let me know and I think I can
show you how to do the rest.
If it is, then my bad and I apologize.
More information about the R-help
mailing list