search for: mydistobj

Displaying 1 result from an estimated 1 matches for "mydistobj".

2006 Apr 18
2
questioin about cluster in R
...10 0 30 49 9 32 30 0 35 36 51 49 35 0 ------------------- I want to do cluster with average method. ---- rown<-c("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| |...