Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
107.2 80.6 88.6 96.1 107 104.1 105.4 94.9 119 108.2 119.9 99.9 110.4 93.4 107.2 96.3 101.7 71.9 84.1 89.5 102.4 94.1 101.4 104.6 98.8 94.9 105.1 101.5 105.6 96.4 118.7 109.8 104.4 91.1 113.8 112.1 106.3 84.4 113.8 110.1 107.2 86.4 118.9 107.1 108.5 88 98.5 108.1 106.9 75.1 91 99 114.2 109.7 120.7 104 125.9 103 127.9 106.7 110.6 82.1 112.4 101.1 110.5 68 93.1 97.8 106.7 96.4 107.5 113.8 104.7 94.3 107.3 107.1 107.4 90 114.8 117.5 109.8 88 120.8 113.7 103.4 76.1 112.2 106.6 114.8 82.5 123.3 109.8 114.3 81.4 100.6 108.8 109.6 66.5 86.7 102 118.3 97.2 123.6 114.5 127.3 94.1 125.3 116.5 112.3 80.7 111.1 108.6 114.9 70.5 98.4 113.9 108.2 87.8 102.3 109.3 105.4 89.5 105 112.5 122.1 99.6 128.2 123.4 113.5 84.2 124.7 115.2 110 75.1 116.1 110.8 125.3 92 131.2 120.4 114.3 80.8 97.7 117.6 115.6 73.1 88.8 111.2 127.1 99.8 132.8 131.1 123 90 113.9 118.9 122.2 83.1 112.6 115.7 126.4 72.4 104.3 119.6 112.7 78.8 107.5 113.1 105.8 87.3 106 106.4 120.9 91 117.3 115.5 116.3 80.1 123.1 111.8 115.7 73.6 114.3 109.6 127.9 86.4 132 121.5 108.3 74.5 92.3 109.5 121.1 71.2 93.7 109 128.6 92.4 121.3 113.4 123.1 81.5 113.6 112.7 127.7 85.3 116.3 114.4 126.6 69.9 98.3 109.2 118.4 84.2 111.9 116.2 110 90.7 109.3 113.8 129.6 100.3 133.2 123.6 115.8 79.4 118 112.6 125.9 84.8 131.6 117.7 128.4 92.9 134.1 113.3 114 81.6 96.7 110.7 125.6 76 99.8 114.7 128.5 98.7 128.3 116.9 136.6 89.1 134.9 120.6 133.1 88.7 130.7 111.6 124.6 67.1 107.3 111.9 123.5 93.6 121.6 116.1 117.2 97 120.6 111.9 135.5 100.8 140.5 125.1 124.8 80.1 124.8 115.1 127.8 80.7 129.9 116.7 133.1 89.4 159.4 115.8 125.7 81.5 111 117.2 128.4 73.6 110.1 113.6 131.9 90.9 132.7 107.2 146.3 97.3 135 115.2 140.6 84.3 118.6 111.4 129.5 65.6 94 109.4 132.4 87.3 117.9 123.5 125.9 90.5 114.7 123 126.9 82.4 113.6 119.8 135.8 80.4 130.6 115
Names of X columns:
VoedingGenot TextielKledingLeer HoutKurkRiet ChemischRubberAardolie
Method
ward
ward
single
complete
average
mcquitty
median
centroid
# of (top) clusters to display
ALL
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