Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_hierarchicalclustering.wasp
Title produced by softwareHierarchical Clustering
Date of computationMon, 16 Sep 2013 05:13:17 -0400
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2013/Sep/16/t1379323311s8no6yblzikob6q.htm/, Retrieved Wed, 01 May 2024 22:13:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=211402, Retrieved Wed, 01 May 2024 22:13:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact127
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Hierarchical Clustering] [] [2013-09-16 09:13:17] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
112
118
132
129
121
135
148
148
136
119
104
118
115
126
141
135
125
149
170
170
158
133
114
140
145
150
178
163
172
178
199
199
184
162
146
166
171
180
193
181
183
218
230
242
209
191
172
194
196
196
236
235
229
243
264
272
237
211
180
201
204
188
235
227
234
264
302
293
259
229
203
229
242
233
267
269
270
315
364
347
312
274
237
278
284
277
317
313
318
374
413
405
355
306
271
306
315
301
356
348
355
422
465
467
404
347
305
336
340
318
362
348
363
435
491
505
404
359
310
337
360
342
406
396
420
472
548
559
463
407
362
405
417
391
419
461
472
535
622
606
508
461
390
432




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Maurice George Kendall' @ kendall.wessa.net

\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 & 2 seconds \tabularnewline
R Server & 'Sir Maurice George Kendall' @ kendall.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211402&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]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Maurice George Kendall' @ kendall.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211402&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211402&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 time2 seconds
R Server'Sir Maurice George Kendall' @ kendall.wessa.net







Summary of Dendrogram
LabelHeight
10
20
30
40
50
60
70
80
91
101
111
121
131
141
151
161
171
181
191
201
211
222
232
243
253
263
273
283
294
304
315
326
336
348
358
368
379
3811
3912
4012
4114
4221
4321
4422
4533
4641
4746
4884
49138

\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 & 1 \tabularnewline
10 & 1 \tabularnewline
11 & 1 \tabularnewline
12 & 1 \tabularnewline
13 & 1 \tabularnewline
14 & 1 \tabularnewline
15 & 1 \tabularnewline
16 & 1 \tabularnewline
17 & 1 \tabularnewline
18 & 1 \tabularnewline
19 & 1 \tabularnewline
20 & 1 \tabularnewline
21 & 1 \tabularnewline
22 & 2 \tabularnewline
23 & 2 \tabularnewline
24 & 3 \tabularnewline
25 & 3 \tabularnewline
26 & 3 \tabularnewline
27 & 3 \tabularnewline
28 & 3 \tabularnewline
29 & 4 \tabularnewline
30 & 4 \tabularnewline
31 & 5 \tabularnewline
32 & 6 \tabularnewline
33 & 6 \tabularnewline
34 & 8 \tabularnewline
35 & 8 \tabularnewline
36 & 8 \tabularnewline
37 & 9 \tabularnewline
38 & 11 \tabularnewline
39 & 12 \tabularnewline
40 & 12 \tabularnewline
41 & 14 \tabularnewline
42 & 21 \tabularnewline
43 & 21 \tabularnewline
44 & 22 \tabularnewline
45 & 33 \tabularnewline
46 & 41 \tabularnewline
47 & 46 \tabularnewline
48 & 84 \tabularnewline
49 & 138 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211402&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]1[/C][/ROW]
[ROW][C]10[/C][C]1[/C][/ROW]
[ROW][C]11[/C][C]1[/C][/ROW]
[ROW][C]12[/C][C]1[/C][/ROW]
[ROW][C]13[/C][C]1[/C][/ROW]
[ROW][C]14[/C][C]1[/C][/ROW]
[ROW][C]15[/C][C]1[/C][/ROW]
[ROW][C]16[/C][C]1[/C][/ROW]
[ROW][C]17[/C][C]1[/C][/ROW]
[ROW][C]18[/C][C]1[/C][/ROW]
[ROW][C]19[/C][C]1[/C][/ROW]
[ROW][C]20[/C][C]1[/C][/ROW]
[ROW][C]21[/C][C]1[/C][/ROW]
[ROW][C]22[/C][C]2[/C][/ROW]
[ROW][C]23[/C][C]2[/C][/ROW]
[ROW][C]24[/C][C]3[/C][/ROW]
[ROW][C]25[/C][C]3[/C][/ROW]
[ROW][C]26[/C][C]3[/C][/ROW]
[ROW][C]27[/C][C]3[/C][/ROW]
[ROW][C]28[/C][C]3[/C][/ROW]
[ROW][C]29[/C][C]4[/C][/ROW]
[ROW][C]30[/C][C]4[/C][/ROW]
[ROW][C]31[/C][C]5[/C][/ROW]
[ROW][C]32[/C][C]6[/C][/ROW]
[ROW][C]33[/C][C]6[/C][/ROW]
[ROW][C]34[/C][C]8[/C][/ROW]
[ROW][C]35[/C][C]8[/C][/ROW]
[ROW][C]36[/C][C]8[/C][/ROW]
[ROW][C]37[/C][C]9[/C][/ROW]
[ROW][C]38[/C][C]11[/C][/ROW]
[ROW][C]39[/C][C]12[/C][/ROW]
[ROW][C]40[/C][C]12[/C][/ROW]
[ROW][C]41[/C][C]14[/C][/ROW]
[ROW][C]42[/C][C]21[/C][/ROW]
[ROW][C]43[/C][C]21[/C][/ROW]
[ROW][C]44[/C][C]22[/C][/ROW]
[ROW][C]45[/C][C]33[/C][/ROW]
[ROW][C]46[/C][C]41[/C][/ROW]
[ROW][C]47[/C][C]46[/C][/ROW]
[ROW][C]48[/C][C]84[/C][/ROW]
[ROW][C]49[/C][C]138[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211402&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211402&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
91
101
111
121
131
141
151
161
171
181
191
201
211
222
232
243
253
263
273
283
294
304
315
326
336
348
358
368
379
3811
3912
4012
4114
4221
4321
4422
4533
4641
4746
4884
49138



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