Thanks. The vectors are produced by PLS-discriminant analysis between groups and the vectors within a group are simply different measurements of the same thing. What I need is a measure of how the different groups cluster. (I assume that I can do some averaging after applying dist, but I can not find the information on how to do it.) Best regards Anders
Rafael Duarte wrote: > It seems that you have already groups defined. > Discriminant analysis would probably be more appropriate for what you > want. > Best regards, > Rafael Duarte > > > > Anders Malmendal wrote: > >> I want to do hierarchical cluster analysis to compare 10 groups of >> vectors with five vectors in each group (i.e. I want to make a >> dendogram showing the clustering of the different groups). I've >> looked into using dist and hclust, but cannot see how to compare the >> different groups instead of the individual vectors. I am thankful for >> any help. >> Anders >> >> ______________________________________________ >> 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 >> and provide commented, minimal, self-contained, reproducible code. >> >> > > -- Anders Malmendal, mailto:[EMAIL PROTECTED] Center for Insoluble Protein Structures (inSPIN) and Interdisciplinary Nanoscience Center (iNANO), Department of Chemistry, University of Aarhus, Langelandsgade 140, DK-8000 Aarhus C, Denmark. tel: +45 8942 3866 fax: +45 8619 6199 ______________________________________________ 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 and provide commented, minimal, self-contained, reproducible code.