Displaying 1 result from an estimated 1 matches for "5_ave".
Did you mean:
3wave
2006 Apr 18
2
questioin about cluster in R
...;A", "B", "C", "D", "E")
mydistMatrix <- read.table("D:\\5.distance",row.names = rown)
mydistObj<-as.dist(mydistMatrix, diag = FALSE, upper = FALSE)
mycluster <- hclust(mydistObj,method="average")
bmp(filename = " D:\\5_ave.bmp")
plot(mycluster,hang=-1)
dev.off()
---
The result is something like
|
20|
| _______________
15| | |
| | |
10| | -------------------
| |...