[R] custom metric for dist for use with hclust/kmeans

2010-05-07 Thread Vivek Ayer
-- Forwarded message -- From: Vivek Ayer Date: Fri, May 7, 2010 at 10:17 AM Subject: Re: [R] custom metric for dist for use with hclust/kmeans To: Greg Snow Hi Greg, The pam function is exactly what I needed. I can now create my own distance matrix, run as.dist on it and pass

Re: [R] custom metric for dist for use with hclust/kmeans

2010-05-06 Thread Greg Snow
n...@r- > project.org] On Behalf Of Vivek Ayer > Sent: Thursday, May 06, 2010 9:56 AM > To: r-help@r-project.org > Subject: Re: [R] custom metric for dist for use with hclust/kmeans > > Bump...no insights on defining custom metrics. Guess I'll give the > other languages a sho

Re: [R] custom metric for dist for use with hclust/kmeans

2010-05-06 Thread Vivek Ayer
Bump...no insights on defining custom metrics. Guess I'll give the other languages a shot. Vivek On Wed, May 5, 2010 at 10:13 AM, Vivek Ayer wrote: > Hi guys, > > I've been using the kmeans and hclust functions for some time now and > was wondering if I could specify a custom metric when passing

[R] custom metric for dist for use with hclust/kmeans

2010-05-05 Thread Vivek Ayer
Hi guys, I've been using the kmeans and hclust functions for some time now and was wondering if I could specify a custom metric when passing my data frame into hclust as a distance matrix. Actually, kmeans doesn't even take a distance matrix; it takes the data frame directly. I was wondering if th