Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_hierarchicalclustering.wasp
Title produced by softwareHierarchical Clustering
Date of computationMon, 21 Jun 2021 17:21:49 +0200
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2021/Jun/21/t1624288976l3iy6wbvgizqu4z.htm/, Retrieved Thu, 28 Mar 2024 17:45:48 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=319461, Retrieved Thu, 28 Mar 2024 17:45:48 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact83
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Hierarchical Clustering] [centroid] [2021-06-21 15:21:49] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
0,807
0,371
0,39
0,425
0,366
0,395
0,406
0,966
0,402
0,355
0,486
0,36
0,871
0,61
0,854
0,333
0,761
0,891
0,609
0,432
0,612




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time0 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=319461&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]0 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=319461&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=319461&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R ServerBig Analytics Cloud Computing Center







Summary of Dendrogram
LabelHeight
10.001
20.00225
30.004
40.005
50.005
60.005
70.00700000000000001
80.00850000000000001
90.00925000000000001
100.017
110.02425
120.0250625
130.026625
140.0359288888888889
150.046
160.0682777777777777
170.0843223140495868
180.10328
190.194520833333333
200.336948888888889

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 0.001 \tabularnewline
2 & 0.00225 \tabularnewline
3 & 0.004 \tabularnewline
4 & 0.005 \tabularnewline
5 & 0.005 \tabularnewline
6 & 0.005 \tabularnewline
7 & 0.00700000000000001 \tabularnewline
8 & 0.00850000000000001 \tabularnewline
9 & 0.00925000000000001 \tabularnewline
10 & 0.017 \tabularnewline
11 & 0.02425 \tabularnewline
12 & 0.0250625 \tabularnewline
13 & 0.026625 \tabularnewline
14 & 0.0359288888888889 \tabularnewline
15 & 0.046 \tabularnewline
16 & 0.0682777777777777 \tabularnewline
17 & 0.0843223140495868 \tabularnewline
18 & 0.10328 \tabularnewline
19 & 0.194520833333333 \tabularnewline
20 & 0.336948888888889 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=319461&T=1

[TABLE]
[ROW][C]Summary of Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]0.001[/C][/ROW]
[ROW][C]2[/C][C]0.00225[/C][/ROW]
[ROW][C]3[/C][C]0.004[/C][/ROW]
[ROW][C]4[/C][C]0.005[/C][/ROW]
[ROW][C]5[/C][C]0.005[/C][/ROW]
[ROW][C]6[/C][C]0.005[/C][/ROW]
[ROW][C]7[/C][C]0.00700000000000001[/C][/ROW]
[ROW][C]8[/C][C]0.00850000000000001[/C][/ROW]
[ROW][C]9[/C][C]0.00925000000000001[/C][/ROW]
[ROW][C]10[/C][C]0.017[/C][/ROW]
[ROW][C]11[/C][C]0.02425[/C][/ROW]
[ROW][C]12[/C][C]0.0250625[/C][/ROW]
[ROW][C]13[/C][C]0.026625[/C][/ROW]
[ROW][C]14[/C][C]0.0359288888888889[/C][/ROW]
[ROW][C]15[/C][C]0.046[/C][/ROW]
[ROW][C]16[/C][C]0.0682777777777777[/C][/ROW]
[ROW][C]17[/C][C]0.0843223140495868[/C][/ROW]
[ROW][C]18[/C][C]0.10328[/C][/ROW]
[ROW][C]19[/C][C]0.194520833333333[/C][/ROW]
[ROW][C]20[/C][C]0.336948888888889[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=319461&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=319461&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.001
20.00225
30.004
40.005
50.005
60.005
70.00700000000000001
80.00850000000000001
90.00925000000000001
100.017
110.02425
120.0250625
130.026625
140.0359288888888889
150.046
160.0682777777777777
170.0843223140495868
180.10328
190.194520833333333
200.336948888888889



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