[R] dist equivalent

From: <sgoodman_at_uchicago.edu>
Date: Tue 24 May 2005 - 04:49:48 EST


The goal is to use Pearson's Phi coefficient to create a similarity matrix from a matrix. The problem is that the DIST command doesn't do it, and I don't know how manipulate the R language well enough to create a substitute. The question is simple: what is a basic way of using custom formulas to compare every row in a matrix, like DIST does?  

-Sasha Goodman

        [[alternative HTML version deleted]]

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue May 24 04:48:34 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:00 EST