[R] cluster analysis: predefined clusters
Peter Langfelder
peter.langfelder at gmail.com
Fri Nov 26 19:45:24 CET 2010
On Fri, Nov 26, 2010 at 6:55 AM, Derik Burgert <derik2000 at yahoo.de> wrote:
> Dear list,
>
> running a hierachical cluster analysis I want to define a number of objects that build a cluster already. In other words: I want to force some of the cases to be in the same cluster from the start of the algorithm.
>
> Any hints? Thanks in advance!
The hclust function has an argument 'members' that should allow you to
do that. You will need to specify the dissimilarity matrix
accordingly.
Peter
More information about the R-help
mailing list