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 Bellanger
Lise, 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/ %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% ______________________________________________ [email protected] 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.
