Ron Michael
2007-May-29 14:28 UTC
[R] Fw: hierarhical cluster analysis of groups of vectors
Hi Rafael, What about multivariate logistic regression? ----- Forwarded Message ---- From: Rafael Duarte <rduarte@ipimar.pt> To: Anders Malmendal <anders@chem.au.dk> Cc: r-help@stat.math.ethz.ch Sent: Tuesday, May 29, 2007 3:21:11 PM Subject: Re: [R] hierarhical cluster analysis of groups of vectors 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. > >-- Rafael Duarte Marine Resources Department - DRM IPIMAR - National Research Institute for Agriculture and Fisheries Av. BrasÃlia, 1449-006 Lisbon - Portugal Tel:+351 21 302 7000 Fax:+351 21 301 5948 e-mail: rduarte@ipimar.pt ______________________________________________ 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. Send instant messages to your online friends http://uk.messenger.yahoo.com [[alternative HTML version deleted]]
Rafael Duarte
2007-May-29 15:23 UTC
[R] Fw: hierarhical cluster analysis of groups of vectors
Yes, of course. But since the initial question referred the use of dist(), (I suppose with Euclidean distances) and hclust on a matrix with a priori known groups, discriminant analysis seemed adequate to me. It was only a suggestion, without having much detail about the problem. Thanks, Rafael Ron Michael wrote:> --> > Hi Rafael, > > What about multivariate logistic regression? > > ----- Forwarded Message ---- > From: Rafael Duarte <rduarte at ipimar.pt> > To: Anders Malmendal <anders at chem.au.dk> > Cc: r-help at stat.math.ethz.ch > Sent: Tuesday, May 29, 2007 3:21:11 PM > Subject: Re: [R] hierarhical cluster analysis of groups of vectors > > 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 at 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. > > > > > > > -- > Rafael Duarte > Marine Resources Department - DRM > IPIMAR - National Research Institute for Agriculture and Fisheries > Av. Bras?lia, 1449-006 Lisbon - Portugal > Tel:+351 21 302 7000 Fax:+351 21 301 5948 > e-mail: rduarte at ipimar.pt > > ______________________________________________ > R-help at 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. > > > Send instant messages to your online friends > http://uk.messenger.yahoo.com-- Rafael Duarte Marine Resources Department - DRM IPIMAR - National Research Institute for Agriculture and Fisheries Av. Bras?lia, 1449-006 Lisbon - Portugal Tel:+351 21 302 7000 Fax:+351 21 301 5948 e-mail: rduarte at ipimar.pt