Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_hierarchicalclustering.wasp
Title produced by softwareHierarchical Clustering
Date of computationSun, 09 Nov 2008 06:04:00 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Nov/09/t12262359476mcjs1xqax7gv5x.htm/, Retrieved Sun, 19 May 2024 11:09:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=22740, Retrieved Sun, 19 May 2024 11:09:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact149
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Hierarchical Clustering] [] [2008-11-09 13:04:00] [b09437381d488816ab9f5cf07e347c02] [Current]
Feedback Forum

Post a new message
Dataseries X:
90.2
105.1
116.1
101.6
88.1
113.7
104.1
110.5
111.3
101.6
105.6
104.2
94.1
116.1
118.3
100.8
100.8
109.3
107.8
124.2
117
104.3
121.2
101.2
104.9
120.7
115.8
106.4
105.4
106.7
100.6
112.8
109.2
102.6
116.1
98.1
99.1
116.8
106.5
107.1
101.5
103.3
100.6
116.8
102.5
106.1
111.1
94.3
101.2
111
114.1
109.8
99.8
104.1
106.3
116.3
104
107.2
113.4
104.2
103
109.3
122.6
109.6
94.2
113.6
110
110.1
112.9
105.4
108.2
101.1
95.2




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 1 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=22740&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=22740&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=22740&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Summary of Dendrogram
LabelHeight
10
20
30
40
50
60
70
80
90
100
110
120.0999999999999943
130.0999999999999943
140.0999999999999943
150.0999999999999943
160.0999999999999943
170.100000000000009
180.100000000000009
190.100000000000009
200.133333333333326
210.133333333333326
220.133333333333326
230.133333333333326
240.133333333333345
250.166666666666676
260.166666666666676
270.199999999999989
280.200000000000003
290.266666666666652
300.266666666666670
310.299999999999988
320.299999999999997
330.300000000000002
340.300000000000004
350.366666666666688
360.383333333333335
370.400000000000006
380.400000000000006
390.47000000000001
400.499999999999996
410.5
420.550000000000004
430.699999999999991
440.700000000000003
450.830000000000005
460.89333333333335
471.00000000000001
481.06666666666665
491.43333333333334
501.45000000000000
511.56666666666667
521.60000000000001
531.83333333333333
542.03666666666666
552.08333333333333
562.10000000000001
572.42666666666668
583.42777777777779
593.64111111111110
603.84999999999999
614.80454545454546
625.13393939393941
636.98871794871795
647.71272727272728
6512.1666666666667
6618.3888888888889
6720.5655555555555
6832.7026315789474
6949.9653171390013
7054.0459307359307
71123.809562795879
72237.008910785335

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 0 \tabularnewline
2 & 0 \tabularnewline
3 & 0 \tabularnewline
4 & 0 \tabularnewline
5 & 0 \tabularnewline
6 & 0 \tabularnewline
7 & 0 \tabularnewline
8 & 0 \tabularnewline
9 & 0 \tabularnewline
10 & 0 \tabularnewline
11 & 0 \tabularnewline
12 & 0.0999999999999943 \tabularnewline
13 & 0.0999999999999943 \tabularnewline
14 & 0.0999999999999943 \tabularnewline
15 & 0.0999999999999943 \tabularnewline
16 & 0.0999999999999943 \tabularnewline
17 & 0.100000000000009 \tabularnewline
18 & 0.100000000000009 \tabularnewline
19 & 0.100000000000009 \tabularnewline
20 & 0.133333333333326 \tabularnewline
21 & 0.133333333333326 \tabularnewline
22 & 0.133333333333326 \tabularnewline
23 & 0.133333333333326 \tabularnewline
24 & 0.133333333333345 \tabularnewline
25 & 0.166666666666676 \tabularnewline
26 & 0.166666666666676 \tabularnewline
27 & 0.199999999999989 \tabularnewline
28 & 0.200000000000003 \tabularnewline
29 & 0.266666666666652 \tabularnewline
30 & 0.266666666666670 \tabularnewline
31 & 0.299999999999988 \tabularnewline
32 & 0.299999999999997 \tabularnewline
33 & 0.300000000000002 \tabularnewline
34 & 0.300000000000004 \tabularnewline
35 & 0.366666666666688 \tabularnewline
36 & 0.383333333333335 \tabularnewline
37 & 0.400000000000006 \tabularnewline
38 & 0.400000000000006 \tabularnewline
39 & 0.47000000000001 \tabularnewline
40 & 0.499999999999996 \tabularnewline
41 & 0.5 \tabularnewline
42 & 0.550000000000004 \tabularnewline
43 & 0.699999999999991 \tabularnewline
44 & 0.700000000000003 \tabularnewline
45 & 0.830000000000005 \tabularnewline
46 & 0.89333333333335 \tabularnewline
47 & 1.00000000000001 \tabularnewline
48 & 1.06666666666665 \tabularnewline
49 & 1.43333333333334 \tabularnewline
50 & 1.45000000000000 \tabularnewline
51 & 1.56666666666667 \tabularnewline
52 & 1.60000000000001 \tabularnewline
53 & 1.83333333333333 \tabularnewline
54 & 2.03666666666666 \tabularnewline
55 & 2.08333333333333 \tabularnewline
56 & 2.10000000000001 \tabularnewline
57 & 2.42666666666668 \tabularnewline
58 & 3.42777777777779 \tabularnewline
59 & 3.64111111111110 \tabularnewline
60 & 3.84999999999999 \tabularnewline
61 & 4.80454545454546 \tabularnewline
62 & 5.13393939393941 \tabularnewline
63 & 6.98871794871795 \tabularnewline
64 & 7.71272727272728 \tabularnewline
65 & 12.1666666666667 \tabularnewline
66 & 18.3888888888889 \tabularnewline
67 & 20.5655555555555 \tabularnewline
68 & 32.7026315789474 \tabularnewline
69 & 49.9653171390013 \tabularnewline
70 & 54.0459307359307 \tabularnewline
71 & 123.809562795879 \tabularnewline
72 & 237.008910785335 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=22740&T=1

[TABLE]
[ROW][C]Summary of Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]0[/C][/ROW]
[ROW][C]10[/C][C]0[/C][/ROW]
[ROW][C]11[/C][C]0[/C][/ROW]
[ROW][C]12[/C][C]0.0999999999999943[/C][/ROW]
[ROW][C]13[/C][C]0.0999999999999943[/C][/ROW]
[ROW][C]14[/C][C]0.0999999999999943[/C][/ROW]
[ROW][C]15[/C][C]0.0999999999999943[/C][/ROW]
[ROW][C]16[/C][C]0.0999999999999943[/C][/ROW]
[ROW][C]17[/C][C]0.100000000000009[/C][/ROW]
[ROW][C]18[/C][C]0.100000000000009[/C][/ROW]
[ROW][C]19[/C][C]0.100000000000009[/C][/ROW]
[ROW][C]20[/C][C]0.133333333333326[/C][/ROW]
[ROW][C]21[/C][C]0.133333333333326[/C][/ROW]
[ROW][C]22[/C][C]0.133333333333326[/C][/ROW]
[ROW][C]23[/C][C]0.133333333333326[/C][/ROW]
[ROW][C]24[/C][C]0.133333333333345[/C][/ROW]
[ROW][C]25[/C][C]0.166666666666676[/C][/ROW]
[ROW][C]26[/C][C]0.166666666666676[/C][/ROW]
[ROW][C]27[/C][C]0.199999999999989[/C][/ROW]
[ROW][C]28[/C][C]0.200000000000003[/C][/ROW]
[ROW][C]29[/C][C]0.266666666666652[/C][/ROW]
[ROW][C]30[/C][C]0.266666666666670[/C][/ROW]
[ROW][C]31[/C][C]0.299999999999988[/C][/ROW]
[ROW][C]32[/C][C]0.299999999999997[/C][/ROW]
[ROW][C]33[/C][C]0.300000000000002[/C][/ROW]
[ROW][C]34[/C][C]0.300000000000004[/C][/ROW]
[ROW][C]35[/C][C]0.366666666666688[/C][/ROW]
[ROW][C]36[/C][C]0.383333333333335[/C][/ROW]
[ROW][C]37[/C][C]0.400000000000006[/C][/ROW]
[ROW][C]38[/C][C]0.400000000000006[/C][/ROW]
[ROW][C]39[/C][C]0.47000000000001[/C][/ROW]
[ROW][C]40[/C][C]0.499999999999996[/C][/ROW]
[ROW][C]41[/C][C]0.5[/C][/ROW]
[ROW][C]42[/C][C]0.550000000000004[/C][/ROW]
[ROW][C]43[/C][C]0.699999999999991[/C][/ROW]
[ROW][C]44[/C][C]0.700000000000003[/C][/ROW]
[ROW][C]45[/C][C]0.830000000000005[/C][/ROW]
[ROW][C]46[/C][C]0.89333333333335[/C][/ROW]
[ROW][C]47[/C][C]1.00000000000001[/C][/ROW]
[ROW][C]48[/C][C]1.06666666666665[/C][/ROW]
[ROW][C]49[/C][C]1.43333333333334[/C][/ROW]
[ROW][C]50[/C][C]1.45000000000000[/C][/ROW]
[ROW][C]51[/C][C]1.56666666666667[/C][/ROW]
[ROW][C]52[/C][C]1.60000000000001[/C][/ROW]
[ROW][C]53[/C][C]1.83333333333333[/C][/ROW]
[ROW][C]54[/C][C]2.03666666666666[/C][/ROW]
[ROW][C]55[/C][C]2.08333333333333[/C][/ROW]
[ROW][C]56[/C][C]2.10000000000001[/C][/ROW]
[ROW][C]57[/C][C]2.42666666666668[/C][/ROW]
[ROW][C]58[/C][C]3.42777777777779[/C][/ROW]
[ROW][C]59[/C][C]3.64111111111110[/C][/ROW]
[ROW][C]60[/C][C]3.84999999999999[/C][/ROW]
[ROW][C]61[/C][C]4.80454545454546[/C][/ROW]
[ROW][C]62[/C][C]5.13393939393941[/C][/ROW]
[ROW][C]63[/C][C]6.98871794871795[/C][/ROW]
[ROW][C]64[/C][C]7.71272727272728[/C][/ROW]
[ROW][C]65[/C][C]12.1666666666667[/C][/ROW]
[ROW][C]66[/C][C]18.3888888888889[/C][/ROW]
[ROW][C]67[/C][C]20.5655555555555[/C][/ROW]
[ROW][C]68[/C][C]32.7026315789474[/C][/ROW]
[ROW][C]69[/C][C]49.9653171390013[/C][/ROW]
[ROW][C]70[/C][C]54.0459307359307[/C][/ROW]
[ROW][C]71[/C][C]123.809562795879[/C][/ROW]
[ROW][C]72[/C][C]237.008910785335[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=22740&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=22740&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of Dendrogram
LabelHeight
10
20
30
40
50
60
70
80
90
100
110
120.0999999999999943
130.0999999999999943
140.0999999999999943
150.0999999999999943
160.0999999999999943
170.100000000000009
180.100000000000009
190.100000000000009
200.133333333333326
210.133333333333326
220.133333333333326
230.133333333333326
240.133333333333345
250.166666666666676
260.166666666666676
270.199999999999989
280.200000000000003
290.266666666666652
300.266666666666670
310.299999999999988
320.299999999999997
330.300000000000002
340.300000000000004
350.366666666666688
360.383333333333335
370.400000000000006
380.400000000000006
390.47000000000001
400.499999999999996
410.5
420.550000000000004
430.699999999999991
440.700000000000003
450.830000000000005
460.89333333333335
471.00000000000001
481.06666666666665
491.43333333333334
501.45000000000000
511.56666666666667
521.60000000000001
531.83333333333333
542.03666666666666
552.08333333333333
562.10000000000001
572.42666666666668
583.42777777777779
593.64111111111110
603.84999999999999
614.80454545454546
625.13393939393941
636.98871794871795
647.71272727272728
6512.1666666666667
6618.3888888888889
6720.5655555555555
6832.7026315789474
6949.9653171390013
7054.0459307359307
71123.809562795879
72237.008910785335



Parameters (Session):
par1 = ward ; par2 = ALL ; par3 = FALSE ; par4 = FALSE ;
Parameters (R input):
par1 = ward ; par2 = ALL ; par3 = FALSE ; par4 = FALSE ;
R code (references can be found in the software module):
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')
}