[R] cluster analysis labels for dendrogram
Sarah Goslee
sarah.goslee at gmail.com
Thu Mar 11 14:59:25 CET 2010
Hi Samantha,
Did you check out the help for plclust? There's a labels argument that
is used to label the leaves of your dendrogram. By default, the rownames
of your dataframe are used.
Sarah
On Wed, Mar 10, 2010 at 9:01 PM, Samantha <samantha.franks at gmail.com> wrote:
>
> Hi,
>
> I am clustering data based on three numeric variables. I have a fourth
> variable that is categorical (site) which I would like to use to label the
> leaves of my dendrogram, so I can see how the different sites are grouped
> throughout the tree, but I do NOT want to use this variable in the cluster
> analysis itself. Is there any way I can do this?
>
> Thanks,
> Samantha
> --
--
Sarah Goslee
http://www.functionaldiversity.org
More information about the R-help
mailing list