Bellanger Lise
2007-Feb-16 12:10 UTC
[R] cluster analysis under contiguity constraints with R ?
Hello, I would like to know if there is a function in an R library that allows to do cluster analysis under contiguity constraints ? Thank you very much for your answer ! Lise Bellanger -- Lise Bellanger, Universit? de Nantes D?partement de Math?matiques, Laboratoire Jean Leray UMR CNRS 6629 2, Rue de la Houssini?re BP 92208 - F-44322 Nantes Cedex 03 T?l. : (33|0) 2 51 12 59 00 (ou 43) - Fax : (33|0) 2 51 12 59 12 E-Mail : lise.bellanger at univ-nantes.fr URL : http://www.math.sciences.univ-nantes.fr/
Gavin Simpson
2007-Feb-28 08:29 UTC
[R] cluster analysis under contiguity constraints with R ?
On Fri, 2007-02-16 at 13:10 +0100, Bellanger Lise wrote:> Hello, > > I would like to know if there is a function in an R library that > allows to do cluster analysis under contiguity constraints ? > > > Thank you very much for your answer ! > > Lise BellangerLise, One option might be some non-CRAN code from Steve Juggins. He has a modified hclust (see ?hclust for details on this) that is designed to work with samples that are ordered in some way. The type-use example that Steve wrote it for is clustering samples in a lake sediment core, where the samples are strictly ordered in time (depth) and you can only fuse adjacent samples/groups. If this is the sort of thing you meant, try: http://www.campus.ncl.ac.uk/staff/Stephen.Juggins/analysis.htm The function is chclust() in his in-development palaeo package. G -- %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% Gavin Simpson [t] +44 (0)20 7679 0522 ECRC [f] +44 (0)20 7679 0565 UCL Department of Geography Pearson Building [e] gavin.simpsonATNOSPAMucl.ac.uk Gower Street London, UK [w] http://www.ucl.ac.uk/~ucfagls/ WC1E 6BT [w] http://www.freshwaters.org.uk/ %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
Friedrich Leisch
2007-Feb-28 14:13 UTC
[R] cluster analysis under contiguity constraints with R ?
>>>>> On Fri, 16 Feb 2007 13:10:44 +0100, >>>>> Bellanger Lise (BL) wrote:> Hello, > I would like to know if there is a function in an R library that > allows to do cluster analysis under contiguity constraints ? I don't know what exactly you mean by "contiguity constraints", but package flexclust can cluster with group constraints, see http://www.ci.tuwien.ac.at/papers/Leisch+Gruen-2006.pdf Hope this helps, Fritz Leisch -- ----------------------------------------------------------------------- Prof. Dr. Friedrich Leisch Institut f?r Statistik Tel: (+49 89) 2180 3165 Ludwig-Maximilians-Universit?t Fax: (+49 89) 2180 5308 Ludwigstra?e 33 D-80539 M?nchen http://www.stat.uni-muenchen.de/~leisch