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 Nov 2015 15:50:55 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2015/Nov/16/t1447689336lkm8th4ie0nglqu.htm/, Retrieved Wed, 15 May 2024 03:36:11 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=283378, Retrieved Wed, 15 May 2024 03:36:11 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsRIO MAIPO, EVALUACION DEL PAISAJE 2015, CHILE, ANALISIS ECOLOGICO,
Estimated Impact117
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Hierarchical Clustering] [ATRIBUTOS BIOSIFI...] [2015-11-16 15:50:55] [d41d8cd98f00b204e9800998ecf8427e] [Current]
-    D    [Hierarchical Clustering] [ATRIBUTOS ESTRUCT...] [2015-11-16 17:07:50] [74be16979710d4c4e7c6647856088456]
-    D    [Hierarchical Clustering] [ATRIBUTOS ESTETIC...] [2015-11-16 17:10:01] [74be16979710d4c4e7c6647856088456]
-    D    [Hierarchical Clustering] [ATRIBUTOS ATRIBUT...] [2015-11-16 17:12:18] [74be16979710d4c4e7c6647856088456]
-    D    [Hierarchical Clustering] [ATRIBUTOS ESCENOG...] [2015-11-16 17:14:50] [74be16979710d4c4e7c6647856088456]
-    D    [Hierarchical Clustering] [PROMEDIO ATRIBUTOS] [2015-11-16 17:17:22] [74be16979710d4c4e7c6647856088456]
Feedback Forum

Post a new message
Dataseries X:
0.22
0.51
0.48
0.32
0.75
0.70
0.81
0.75
1.00
0.75
0.93
0.86
0.75
0.45
0.30
0.36
0.40
0.45
0.31
0.30
0.28
0.41
0.17
0.36
0.17
0.10
0.00
0.00
0.00
0.17
0.23
0.23
0.30
0.23
0.30
0.36
0.35
0.35
0.35
0.35
0.13
0.48
0.48
0.51
0.41
0.41
0.41
0.63
0.48
0.63
0.87




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 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 & 1 seconds \tabularnewline
R Server & 'Sir Maurice George Kendall' @ kendall.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283378&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]'Sir Maurice George Kendall' @ kendall.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283378&T=0

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







Summary of Dendrogram
LabelHeight
10
20
30
40
50
60
70
80
90
100
110
120
130
140
150
160
170
180
190
200
210
220
230
240
250
260
270.01
280.01
290.015
300.0159999999999999
310.03
320.0319999999999999
330.0342857142857143
340.038
350.0699999999999999
360.07
370.0799999999999999
380.0800000000000001
390.1
400.114
410.21
420.281
430.289714285714286
440.291428571428571
450.489473684210526
460.715
470.716904761904762
481.07941520467836
492.69149572649573
506.19588989441931

\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 \tabularnewline
13 & 0 \tabularnewline
14 & 0 \tabularnewline
15 & 0 \tabularnewline
16 & 0 \tabularnewline
17 & 0 \tabularnewline
18 & 0 \tabularnewline
19 & 0 \tabularnewline
20 & 0 \tabularnewline
21 & 0 \tabularnewline
22 & 0 \tabularnewline
23 & 0 \tabularnewline
24 & 0 \tabularnewline
25 & 0 \tabularnewline
26 & 0 \tabularnewline
27 & 0.01 \tabularnewline
28 & 0.01 \tabularnewline
29 & 0.015 \tabularnewline
30 & 0.0159999999999999 \tabularnewline
31 & 0.03 \tabularnewline
32 & 0.0319999999999999 \tabularnewline
33 & 0.0342857142857143 \tabularnewline
34 & 0.038 \tabularnewline
35 & 0.0699999999999999 \tabularnewline
36 & 0.07 \tabularnewline
37 & 0.0799999999999999 \tabularnewline
38 & 0.0800000000000001 \tabularnewline
39 & 0.1 \tabularnewline
40 & 0.114 \tabularnewline
41 & 0.21 \tabularnewline
42 & 0.281 \tabularnewline
43 & 0.289714285714286 \tabularnewline
44 & 0.291428571428571 \tabularnewline
45 & 0.489473684210526 \tabularnewline
46 & 0.715 \tabularnewline
47 & 0.716904761904762 \tabularnewline
48 & 1.07941520467836 \tabularnewline
49 & 2.69149572649573 \tabularnewline
50 & 6.19588989441931 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283378&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[/C][/ROW]
[ROW][C]13[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0[/C][/ROW]
[ROW][C]15[/C][C]0[/C][/ROW]
[ROW][C]16[/C][C]0[/C][/ROW]
[ROW][C]17[/C][C]0[/C][/ROW]
[ROW][C]18[/C][C]0[/C][/ROW]
[ROW][C]19[/C][C]0[/C][/ROW]
[ROW][C]20[/C][C]0[/C][/ROW]
[ROW][C]21[/C][C]0[/C][/ROW]
[ROW][C]22[/C][C]0[/C][/ROW]
[ROW][C]23[/C][C]0[/C][/ROW]
[ROW][C]24[/C][C]0[/C][/ROW]
[ROW][C]25[/C][C]0[/C][/ROW]
[ROW][C]26[/C][C]0[/C][/ROW]
[ROW][C]27[/C][C]0.01[/C][/ROW]
[ROW][C]28[/C][C]0.01[/C][/ROW]
[ROW][C]29[/C][C]0.015[/C][/ROW]
[ROW][C]30[/C][C]0.0159999999999999[/C][/ROW]
[ROW][C]31[/C][C]0.03[/C][/ROW]
[ROW][C]32[/C][C]0.0319999999999999[/C][/ROW]
[ROW][C]33[/C][C]0.0342857142857143[/C][/ROW]
[ROW][C]34[/C][C]0.038[/C][/ROW]
[ROW][C]35[/C][C]0.0699999999999999[/C][/ROW]
[ROW][C]36[/C][C]0.07[/C][/ROW]
[ROW][C]37[/C][C]0.0799999999999999[/C][/ROW]
[ROW][C]38[/C][C]0.0800000000000001[/C][/ROW]
[ROW][C]39[/C][C]0.1[/C][/ROW]
[ROW][C]40[/C][C]0.114[/C][/ROW]
[ROW][C]41[/C][C]0.21[/C][/ROW]
[ROW][C]42[/C][C]0.281[/C][/ROW]
[ROW][C]43[/C][C]0.289714285714286[/C][/ROW]
[ROW][C]44[/C][C]0.291428571428571[/C][/ROW]
[ROW][C]45[/C][C]0.489473684210526[/C][/ROW]
[ROW][C]46[/C][C]0.715[/C][/ROW]
[ROW][C]47[/C][C]0.716904761904762[/C][/ROW]
[ROW][C]48[/C][C]1.07941520467836[/C][/ROW]
[ROW][C]49[/C][C]2.69149572649573[/C][/ROW]
[ROW][C]50[/C][C]6.19588989441931[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283378&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283378&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
130
140
150
160
170
180
190
200
210
220
230
240
250
260
270.01
280.01
290.015
300.0159999999999999
310.03
320.0319999999999999
330.0342857142857143
340.038
350.0699999999999999
360.07
370.0799999999999999
380.0800000000000001
390.1
400.114
410.21
420.281
430.289714285714286
440.291428571428571
450.489473684210526
460.715
470.716904761904762
481.07941520467836
492.69149572649573
506.19588989441931







Summary of Cut Dendrogram
LabelHeight
10.01
20.015
30.0271428571428571
40.03
50.045
60.05
70.0549999999999999
80.055
90.07
100.0713333333333333
110.0952777777777778
120.118571428571429
130.170576441102757
140.18
150.228055555555556
160.393651072124756
170.452261904761905
180.90412962962963
192.96528431372549

\begin{tabular}{lllllllll}
\hline
Summary of Cut Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 0.01 \tabularnewline
2 & 0.015 \tabularnewline
3 & 0.0271428571428571 \tabularnewline
4 & 0.03 \tabularnewline
5 & 0.045 \tabularnewline
6 & 0.05 \tabularnewline
7 & 0.0549999999999999 \tabularnewline
8 & 0.055 \tabularnewline
9 & 0.07 \tabularnewline
10 & 0.0713333333333333 \tabularnewline
11 & 0.0952777777777778 \tabularnewline
12 & 0.118571428571429 \tabularnewline
13 & 0.170576441102757 \tabularnewline
14 & 0.18 \tabularnewline
15 & 0.228055555555556 \tabularnewline
16 & 0.393651072124756 \tabularnewline
17 & 0.452261904761905 \tabularnewline
18 & 0.90412962962963 \tabularnewline
19 & 2.96528431372549 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283378&T=2

[TABLE]
[ROW][C]Summary of Cut Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]0.01[/C][/ROW]
[ROW][C]2[/C][C]0.015[/C][/ROW]
[ROW][C]3[/C][C]0.0271428571428571[/C][/ROW]
[ROW][C]4[/C][C]0.03[/C][/ROW]
[ROW][C]5[/C][C]0.045[/C][/ROW]
[ROW][C]6[/C][C]0.05[/C][/ROW]
[ROW][C]7[/C][C]0.0549999999999999[/C][/ROW]
[ROW][C]8[/C][C]0.055[/C][/ROW]
[ROW][C]9[/C][C]0.07[/C][/ROW]
[ROW][C]10[/C][C]0.0713333333333333[/C][/ROW]
[ROW][C]11[/C][C]0.0952777777777778[/C][/ROW]
[ROW][C]12[/C][C]0.118571428571429[/C][/ROW]
[ROW][C]13[/C][C]0.170576441102757[/C][/ROW]
[ROW][C]14[/C][C]0.18[/C][/ROW]
[ROW][C]15[/C][C]0.228055555555556[/C][/ROW]
[ROW][C]16[/C][C]0.393651072124756[/C][/ROW]
[ROW][C]17[/C][C]0.452261904761905[/C][/ROW]
[ROW][C]18[/C][C]0.90412962962963[/C][/ROW]
[ROW][C]19[/C][C]2.96528431372549[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283378&T=2

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

As an alternative you can also use a QR Code:  

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

Summary of Cut Dendrogram
LabelHeight
10.01
20.015
30.0271428571428571
40.03
50.045
60.05
70.0549999999999999
80.055
90.07
100.0713333333333333
110.0952777777777778
120.118571428571429
130.170576441102757
140.18
150.228055555555556
160.393651072124756
170.452261904761905
180.90412962962963
192.96528431372549



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