Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
0.82 0.05 0.00 0.00 0.00 0.00 0.04 0.00 0.00 0.01 0.07 134 0.94 0.04 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.03 113 0.89 0.08 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.03 66 0.81 0.12 0.00 0.00 0.00 0.00 0.00 0.03 0.00 0.02 0.02 58 0.90 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.02 81 0.87 0.08 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.03 63 0.88 0.02 0.01 0.00 0.00 0.00 0.00 0.02 0.00 0.00 0.08 128 0.77 0.10 0.02 0.00 0.00 0.00 0.00 0.00 0.08 0.02 0.02 61 0.88 0.04 0.02 0.00 0.00 0.00 0.00 0.02 0.00 0.00 0.05 56 0.84 0.04 0.05 0.00 0.00 0.00 0.01 0.00 0.00 0.01 0.04 92 0.74 0.11 0.02 0.02 0.02 0.00 0.00 0.01 0.01 0.01 0.06 126 0.83 0.10 0.01 0.03 0.00 0.00 0.00 0.01 0.00 0.00 0.02 153 0.71 0.11 0.13 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 126 0.86 0.03 0.02 0.00 0.00 0.00 0.01 0.03 0.02 0.00 0.04 182 0.85 0.09 0.03 0.00 0.00 0.00 0.00 0.00 0.01 0.00 0.03 116 0.78 0.16 0.04 0.00 0.00 0.00 0.00 0.01 0.00 0.00 0.01 104 0.65 0.14 0.13 0.03 0.00 0.00 0.00 0.01 0.00 0.01 0.03 101 0.80 0.06 0.04 0.00 0.01 0.00 0.01 0.01 0.00 0.01 0.05 140 0.75 0.15 0.08 0.00 0.00 0.00 0.01 0.00 0.00 0.00 0.02 133 0.75 0.09 0.13 0.00 0.00 0.00 0.01 0.00 0.00 0.00 0.02 182 0.55 0.19 0.18 0.07 0.00 0.00 0.02 0.00 0.00 0.00 0.00 165 0.57 0.18 0.11 0.13 0.01 0.00 0.00 0.02 0.00 0.00 0.00 198 0.62 0.22 0.12 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 239 0.57 0.20 0.14 0.04 0.01 0.00 0.03 0.00 0.00 0.01 0.00 280 0.64 0.23 0.08 0.01 0.02 0.00 0.00 0.00 0.00 0.01 0.00 205 0.64 0.17 0.12 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 212 0.70 0.18 0.08 0.02 0.00 0.00 0.00 0.02 0.00 0.00 0.00 126 0.48 0.19 0.17 0.12 0.02 0.00 0.00 0.01 0.00 0.00 0.00 217 0.62 0.13 0.23 0.01 0.00 0.00 0.00 0.01 0.00 0.00 0.00 172 0.60 0.22 0.15 0.03 0.01 0.00 0.00 0.00 0.00 0.00 0.00 144 0.49 0.08 0.26 0.05 0.00 0.00 0.03 0.05 0.00 0.00 0.05 39 0.77 0.08 0.04 0.00 0.00 0.00 0.00 0.12 0.00 0.00 0.00 26 0.50 0.06 0.00 0.00 0.00 0.00 0.03 0.29 0.03 0.00 0.09 34 0.41 0.13 0.08 0.00 0.00 0.00 0.03 0.21 0.10 0.00 0.05 39 0.72 0.09 0.00 0.00 0.00 0.00 0.03 0.03 0.00 0.00 0.13 32 0.58 0.08 0.12 0.02 0.00 0.00 0.00 0.14 0.00 0.06 0.00 65 0.52 0.16 0.13 0.00 0.00 0.00 0.00 0.06 0.13 0.00 0.00 31 0.82 0.13 0.00 0.00 0.00 0.00 0.00 0.05 0.00 0.00 0.00 55 0.38 0.05 0.10 0.00 0.00 0.00 0.00 0.29 0.19 0.00 0.00 21 0.68 0.00 0.14 0.04 0.04 0.00 0.04 0.04 0.00 0.00 0.04 28 0.72 0.06 0.00 0.00 0.00 0.00 0.02 0.04 0.02 0.00 0.13 47 0.82 0.02 0.00 0.00 0.00 0.00 0.00 0.05 0.09 0.00 0.02 57 0.70 0.05 0.00 0.00 0.05 0.00 0.00 0.05 0.15 0.00 0.00 20 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11 0.71 0.00 0.00 0.00 0.00 0.00 0.00 0.06 0.24 0.00 0.00 17 0.68 0.09 0.03 0.01 0.00 0.00 0.04 0.03 0.00 0.00 0.12 119 0.65 0.18 0.01 0.05 0.00 0.03 0.01 0.00 0.00 0.01 0.06 80 0.60 0.08 0.07 0.04 0.00 0.01 0.01 0.03 0.02 0.01 0.14 159 0.81 0.06 0.01 0.01 0.00 0.00 0.01 0.02 0.03 0.00 0.06 105 0.79 0.05 0.10 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.07 107 0.70 0.08 0.06 0.00 0.00 0.00 0.00 0.11 0.03 0.00 0.02 63 0.75 0.09 0.04 0.02 0.00 0.00 0.00 0.02 0.04 0.00 0.05 57 0.64 0.15 0.06 0.00 0.00 0.00 0.00 0.10 0.04 0.01 0.00 72 0.71 0.07 0.03 0.00 0.00 0.00 0.00 0.13 0.03 0.00 0.04 114 0.79 0.15 0.04 0.01 0.00 0.00 0.00 0.01 0.00 0.00 0.01 185 0.72 0.11 0.03 0.02 0.00 0.00 0.00 0.10 0.00 0.00 0.01 115 0.72 0.11 0.11 0.01 0.00 0.00 0.00 0.02 0.00 0.00 0.03 127 0.70 0.04 0.05 0.00 0.01 0.00 0.00 0.12 0.08 0.00 0.00 110 0.63 0.10 0.08 0.03 0.00 0.00 0.01 0.07 0.00 0.00 0.08 178 0.73 0.12 0.05 0.00 0.00 0.00 0.00 0.04 0.01 0.00 0.04 245 0.83 0.09 0.04 0.00 0.00 0.00 0.00 0.04 0.00 0.00 0.00 23 0.89 0.08 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 85 0.67 0.27 0.00 0.01 0.00 0.00 0.00 0.01 0.00 0.01 0.02 82 0.76 0.08 0.02 0.00 0.00 0.00 0.00 0.00 0.04 0.00 0.10 49 0.71 0.09 0.03 0.00 0.00 0.00 0.00 0.06 0.00 0.03 0.09 34 0.52 0.04 0.13 0.02 0.00 0.02 0.15 0.00 0.00 0.00 0.13 48 0.83 0.10 0.02 0.00 0.00 0.00 0.02 0.00 0.00 0.00 0.02 42 0.70 0.10 0.05 0.05 0.00 0.00 0.10 0.00 0.00 0.00 0.00 20 0.93 0.00 0.00 0.04 0.00 0.00 0.04 0.00 0.00 0.00 0.00 27 0.73 0.12 0.02 0.01 0.00 0.00 0.09 0.02 0.00 0.00 0.01 105 0.81 0.09 0.03 0.00 0.00 0.00 0.00 0.04 0.00 0.01 0.01 69 0.65 0.00 0.15 0.01 0.00 0.00 0.00 0.01 0.00 0.00 0.18 68 0.81 0.06 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.06 31 0.76 0.08 0.05 0.01 0.01 0.00 0.00 0.00 0.00 0.03 0.05 76 0.68 0.05 0.00 0.00 0.00 0.00 0.00 0.05 0.14 0.00 0.09 22 0.71 0.17 0.04 0.00 0.00 0.00 0.01 0.00 0.00 0.01 0.06 112 0.73 0.03 0.09 0.03 0.00 0.00 0.08 0.05 0.00 0.00 0.00 66 0.86 0.02 0.05 0.00 0.00 0.00 0.05 0.00 0.00 0.00 0.02 43 0.89 0.03 0.03 0.00 0.00 0.00 0.00 0.03 0.00 0.00 0.03 37 0.76 0.09 0.02 0.02 0.01 0.00 0.02 0.01 0.02 0.00 0.04 91 0.46 0.22 0.12 0.06 0.00 0.01 0.01 0.01 0.00 0.01 0.10 287 0.48 0.17 0.16 0.04 0.01 0.00 0.01 0.01 0.00 0.00 0.11 232 0.55 0.15 0.09 0.06 0.01 0.01 0.06 0.02 0.00 0.01 0.04 110 0.60 0.20 0.10 0.07 0.00 0.00 0.00 0.01 0.00 0.00 0.01 139 0.69 0.03 0.06 0.03 0.01 0.00 0.00 0.01 0.00 0.00 0.17 77 0.72 0.12 0.07 0.03 0.00 0.00 0.02 0.03 0.00 0.00 0.01 174 0.66 0.13 0.10 0.03 0.01 0.01 0.02 0.01 0.00 0.00 0.03 104 0.56 0.10 0.06 0.07 0.03 0.02 0.01 0.00 0.00 0.00 0.14 97 0.77 0.12 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.12 26 0.58 0.07 0.15 0.04 0.00 0.00 0.01 0.05 0.02 0.00 0.07 81
Names of X columns:
X1 X2 X3 X4 X5 X6 X7 X8 X9 X10 X11 X12
Method
ward
ward
single
complete
average
mcquitty
median
centroid
# of (top) clusters to display
5
ALL
2
3
4
5
6
7
8
9
10
15
20
Horizontal
FALSE
FALSE
TRUE
Triangle
FALSE
FALSE
TRUE
Chart options
Title:
Label y-axis:
Label x-axis:
R Code
par3 <- as.logical(par3) par4 <- as.logical(par4) if (par3 == 'TRUE'){ dum = xlab xlab = ylab ylab = dum } x <- t(y) hc <- hclust(dist(x),method=par1) d <- as.dendrogram(hc) str(d) mysub <- paste('Method: ',par1) bitmap(file='test1.png') if (par4 == 'TRUE'){ plot(d,main=main,ylab=ylab,xlab=xlab,horiz=par3, nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8),type='t',center=T, sub=mysub) } else { plot(d,main=main,ylab=ylab,xlab=xlab,horiz=par3, nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8), sub=mysub) } dev.off() if (par2 != 'ALL'){ if (par3 == 'TRUE'){ ylab = 'cluster' } else { xlab = 'cluster' } par2 <- as.numeric(par2) memb <- cutree(hc, k = par2) cent <- NULL for(k in 1:par2){ cent <- rbind(cent, colMeans(x[memb == k, , drop = FALSE])) } hc1 <- hclust(dist(cent),method=par1, members = table(memb)) de <- as.dendrogram(hc1) bitmap(file='test2.png') if (par4 == 'TRUE'){ plot(de,main=main,ylab=ylab,xlab=xlab,horiz=par3, nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8),type='t',center=T, sub=mysub) } else { plot(de,main=main,ylab=ylab,xlab=xlab,horiz=par3, nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8), sub=mysub) } dev.off() str(de) } load(file='createtable') a<-table.start() a<-table.row.start(a) a<-table.element(a,'Summary of Dendrogram',2,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'Label',header=TRUE) a<-table.element(a,'Height',header=TRUE) a<-table.row.end(a) num <- length(x[,1])-1 for (i in 1:num) { a<-table.row.start(a) a<-table.element(a,hc$labels[i]) a<-table.element(a,hc$height[i]) a<-table.row.end(a) } a<-table.end(a) table.save(a,file='mytable1.tab') if (par2 != 'ALL'){ a<-table.start() a<-table.row.start(a) a<-table.element(a,'Summary of Cut Dendrogram',2,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'Label',header=TRUE) a<-table.element(a,'Height',header=TRUE) a<-table.row.end(a) num <- par2-1 for (i in 1:num) { a<-table.row.start(a) a<-table.element(a,i) a<-table.element(a,hc1$height[i]) a<-table.row.end(a) } a<-table.end(a) table.save(a,file='mytable2.tab') }
Compute
Summary of computational transaction
Raw Input
view raw input (R code)
Raw Output
view raw output of R engine
Computing time
0 seconds
R Server
Big Analytics Cloud Computing Center
Click here to blog (archive) this computation