Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
1045.9 1593 0.8721 4.5 1401.9 1477.9 0.8552 4.7 1027.6 1733.7 0.8564 4.75 1703.8 1569.7 0.8973 4.75 1481.3 1843.7 0.9383 4.75 1422.7 1950.3 0.9217 4.75 1304.7 1657.5 0.9095 4.75 1246.1 1772.1 0.892 4.75 1417.8 1568.3 0.8742 4.58 1459.1 1809.8 0.8532 4.5 1156.4 1646.7 0.8607 4.5 1304.5 1808.5 0.9005 4.49 1336.9 1763.9 0.9111 4.03 1372.3 1625.5 0.9059 3.75 975.5 1538.8 0.8883 3.39 1180.8 1342.4 0.8924 3.25 1361.3 1645.1 0.8833 3.25 1428.1 1619.9 0.87 3.25 1355.9 1338.1 0.8758 3.25 1781.2 1505.5 0.8858 3.25 1697 1529.1 0.917 3.25 1852 1511.9 0.9554 3.25 1844.1 1656.7 0.9922 3.25 1967.2 1694.4 0.9778 3.25 1747.1 1662.3 0.9808 3.25 1863.9 1588.7 0.9811 3.25 1559.3 1483.3 1.0014 3.25 1675 1585.6 1.0183 2.85 2237.5 1658.9 1.0622 2.75 1965.2 1584.4 1.0773 2.75 1871.5 1470.6 1.0807 2.55 1752.2 1618.7 1.0848 2.5 1360.7 1407.6 1.1582 2.5 1444.3 1473.9 1.1663 2.1 1621.6 1515.3 1.1372 2 1368 1485.4 1.1139 2 1553.9 1496.1 1.1222 2 1695.3 1493.5 1.1692 2 1397.1 1298.4 1.1702 2 1848.4 1375.3 1.2286 2 1809.2 1507.9 1.2613 2 1551.1 1455.3 1.2646 2 1546.6 1363.3 1.2262 2 1467.9 1392.8 1.1985 2 1662.4 1348.8 1.2007 2 1972.3 1880.3 1.2138 2 1673.5 1669.2 1.2266 2 1762 1543.6 1.2176 2 2019.8 1701.2 1.2218 2 1754.3 1516.5 1.249 2 1400.4 1466.8 1.2991 2 1453.6 1484.1 1.3408 2 1740.9 1577.2 1.3119 2 1694.6 1684.5 1.3014 2 1541.2 1414.7 1.3201 2 1482.3 1674.5 1.2938 2 1632.1 1598.7 1.2694 2 1837.3 1739.1 1.2165 2 1797 1674.6 1.2037 2 2066.2 1671.8 1.2292 2 1983.8 1802 1.2256 2 1601.7 1526.8 1.2015 2 1660.3 1580.9 1.1786 2 1954 1634.8 1.1856 2.21 1991.9 1610.3 1.2103 2.25 1881.4 1712 1.1938 2.25 2345.5 1678.8 1.202 2.45 1773.1 1708.1 1.2271 2.5 1719.2 1680.6 1.277 2.5 2240.9 2056 1.265 2.64 1816.4 1624 1.2684 2.75 2171.3 2021.4 1.2811 2.93 1823.3 1861.1 1.2727 3 2022.5 1750.8 1.2611 3.17 1991 1767.5 1.2881 3.25 1920 1710.3 1.3213 3.39 2168.4 2151.5 1.2999 3.5 2013.5 2047.9 1.3074 3.5 1790.8 1915.4 1.3242 3.65 1855.7 1984.7 1.3516 3.75 2074 1896.5 1.3511 3.75 2535.8 2170.8 1.3419 3.9 1837.2 2139.9 1.3716 4 1805.1 2330.5 1.3622 4 1785.7 2121.8 1.3896 4 2250 2226.8 1.4227 4 1959.7 1857.9 1.4684 4 1890.8 2155.9 1.457 4 2405.7 2341.7 1.4718 4 2090.3 2290.2 1.4748 4 1666.5 2006.5 1.5527 4 1803.5 2111.9 1.575 4 1793.8 1731.3 1.5557 4 1488.8 1762.2 1.5553 4 1545 1863.2 1.577 4.18 1369.9 1943.5 1.4975 4.25 1451.6 1975.2 1.4369 4.25
Names of X columns:
Uitvoer_naar_Amerika Invoer_vanuit_Amerika Wisselkoers_dollar_/_euro Rentevoet
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