Re: [R] dendrogram

From: Sean Davis <sdavis2_at_mail.nih.gov>
Date: Wed 04 Jan 2006 - 22:48:42 EST

On 1/4/06 6:03 AM, "Zhesi He" <hezhesi@gmail.com> wrote:

> Dear list,
>
> Sorry if my question is too easy.
> I now have a class list like
>
> 1.01.01.01
> 1.01.01.02
> 1.02.01.01
> 1.03.01.01
> ...
> 9.09.09
>
> I have no problem transferring it to a matrix without those zeros. But
> I really want to have a dengrogram class object so that I can have a
> hierarchical plot.

You didn't really explain what kind of clustering you want to do. However, you probably want to do help.search('cluster'). That will give you many methods for clustering. Most of them work with either a matrix or a distance object. See ?dist for help with the latter.

Sean



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 Wed Jan 04 23:19:25 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:48 EST