[R] Cluster analysis question

Stephen Weigand weigand.stephen at gmail.com
Mon Feb 9 03:49:48 CET 2009


Dan,

I don't use the flexclust package, but if I understand your question
correctly, you can use your own distance measure to calculate a
dissimilarity matrix and pass that to, e.g., agnes() in the cluster
package.

Stephen

On Fri, Feb 6, 2009 at 9:42 AM, Jim Porzak <jporzak at gmail.com> wrote:
> Dan,
>
> Check out Fritz Leisch's flexclust package.
> HTH,
> Jim Porzak
> TGN.com
> San Francisco, CA
> http://www.linkedin.com/in/jimporzak
> use R! Group SF: http://ia.meetup.com/67/
>
>
>
> On Fri, Feb 6, 2009 at 7:11 AM, Dan Stanger <DStanger at eatonvance.com> wrote:
>> Hello All,
>>
>> I have data where each feature data point is a vector, and my distance
>> measurement is a weighted dot product between vectors.
>>
>> I would like to use R to perform a cluster analysis on this data.  Does
>> one of the R cluster analysis routines provide for a user provided
>> distance function?
>>
>>
>>
>> Dan Stanger
>>
>> Eaton Vance Management
>> 255 State Street
>> Boston, MA 02109
>> 617 598 8261
>>
>>
>>
>>
>>        [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at 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.
>>
>
> ______________________________________________
> R-help at 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.
>



-- 
Rochester, Minn. USA




More information about the R-help mailing list