Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_hierarchicalclustering.wasp
Title produced by softwareHierarchical Clustering
Date of computationWed, 12 Nov 2008 07:58:49 -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/12/t1226502041qajkf74ws1d2g7w.htm/, Retrieved Sun, 19 May 2024 09:21:24 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=24228, Retrieved Sun, 19 May 2024 09:21:24 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact139
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Hierarchical Clustering] [Hierarchical Clus...] [2008-11-12 14:58:49] [bca67c46bcf35400430db40e8c261de9] [Current]
Feedback Forum

Post a new message
Dataseries X:
0,9059	109,86	109,86
0,8883	108,68	108,68
0,8924	113,38	113,38
0,8833	117,12	117,12
0,8700	116,23	116,23
0,8758	114,75	114,75
0,8858	115,81	115,81
0,9170	115,86	115,86
0,9554	117,80	117,80
0,9922	117,11	117,11
0,9778	116,31	116,31
0,9808	118,38	118,38
0,9811	121,57	121,57
1,0014	121,65	121,65
1,0183	124,20	124,20




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=24228&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=24228&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=24228&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.0772880327088187
20.109814434388200
30.114943855860172
40.156271686495025
50.820637045227667
61.11917307473777
71.66886481178074
81.93754369241058
92.29553786169705
104.84558663372065
115.75404963172894
129.47110865270616
1328.0080250217910
1435.7508354505448

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 0.0772880327088187 \tabularnewline
2 & 0.109814434388200 \tabularnewline
3 & 0.114943855860172 \tabularnewline
4 & 0.156271686495025 \tabularnewline
5 & 0.820637045227667 \tabularnewline
6 & 1.11917307473777 \tabularnewline
7 & 1.66886481178074 \tabularnewline
8 & 1.93754369241058 \tabularnewline
9 & 2.29553786169705 \tabularnewline
10 & 4.84558663372065 \tabularnewline
11 & 5.75404963172894 \tabularnewline
12 & 9.47110865270616 \tabularnewline
13 & 28.0080250217910 \tabularnewline
14 & 35.7508354505448 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=24228&T=1

[TABLE]
[ROW][C]Summary of Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]0.0772880327088187[/C][/ROW]
[ROW][C]2[/C][C]0.109814434388200[/C][/ROW]
[ROW][C]3[/C][C]0.114943855860172[/C][/ROW]
[ROW][C]4[/C][C]0.156271686495025[/C][/ROW]
[ROW][C]5[/C][C]0.820637045227667[/C][/ROW]
[ROW][C]6[/C][C]1.11917307473777[/C][/ROW]
[ROW][C]7[/C][C]1.66886481178074[/C][/ROW]
[ROW][C]8[/C][C]1.93754369241058[/C][/ROW]
[ROW][C]9[/C][C]2.29553786169705[/C][/ROW]
[ROW][C]10[/C][C]4.84558663372065[/C][/ROW]
[ROW][C]11[/C][C]5.75404963172894[/C][/ROW]
[ROW][C]12[/C][C]9.47110865270616[/C][/ROW]
[ROW][C]13[/C][C]28.0080250217910[/C][/ROW]
[ROW][C]14[/C][C]35.7508354505448[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=24228&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=24228&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.0772880327088187
20.109814434388200
30.114943855860172
40.156271686495025
50.820637045227667
61.11917307473777
71.66886481178074
81.93754369241058
92.29553786169705
104.84558663372065
115.75404963172894
129.47110865270616
1328.0080250217910
1435.7508354505448



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')
}