> From: Rajarshi Guha > On Wed, 2003-12-03 at 13:18, J.R. Lockwood wrote: > > > list will come up with something clever. the other issues > is that you > > need to be careful when doing equality comparisons with > floating point > > numbers. unless your matrix consists of characters or integers, > > you'll need to think about some level of numerical tolerance of your > > comparison. > > Yes, the matrix will always be integer.
Other than what J.R. and Marc suggested, you might could try to use dist(t(x), method="manhattan") and see which entries are 0 (or close enough to 0). HTH, Andy > ------------------------------------------------------------------- > Rajarshi Guha <[EMAIL PROTECTED]> <http://jijo.cjb.net> > GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE > ------------------------------------------------------------------- > All theoretical chemistry is really physics; and all theoretical > chemists > know it. > -- Richard P. Feynman > > ______________________________________________ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help