On 24.06.2012 06:20, Bob Green wrote:> Hello,
>
> I want to examine the characteristics of 49 persons in terms of their
> symptoms and motivations, in a cluster analysis . The data is in a
> binary format.
>
> I was hoping to save and then examine the cluster membership. I would
> appreciate advice on whether this is possible within hclust and if so,
> how do I do this? The syntax I have employed so far, follows.
>
> FS4 <- read.csv("E://Arsont2.csv",header=T)
> dmat <- dist(FS4, method="binary")
> dmat
> ctest <- hclust (dist(FS4, method="binary"), "ave")
> plot(ctest)
See ?cutree
Uwe Ligges
>
>
> Bob Green
>
> ______________________________________________
> R-help at r-project.org 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.