Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_hierarchicalclustering.wasp
Title produced by softwareHierarchical Clustering
Date of computationMon, 05 Dec 2022 21:03:40 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2022/Dec/05/t16702707119aotyvo3fj7aols.htm/, Retrieved Tue, 21 May 2024 19:58:22 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=319793, Retrieved Tue, 21 May 2024 19:58:22 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact35
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Hierarchical Clustering] [] [2022-12-05 20:03:40] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
7,11529	6,70065	5,47095	9,05642	5,36065
6,38495	6,49672	5,46273	8,39647	5,66326
7,15774	6,69012	5,25715	8,58816	5,45024
6,87412	6,91807	5,75563	8,37959	5,74119
6,88917	6,61559	5,73428	8,27478	5,73126
7,43160	7,97888	6,33374	9,86402	5,94316
6,56290	7,53712	5,35301	8,79361	5,98816
8,05774	8,41648	6,92065	10,55129	7,04430
7,58612	7,99523	6,20512	10,55446	6,16631
6,76325	7,69136	5,32095	10,50091	5,61047
8,23082	8,10197	7,03264	11,87439	7,06756
8,23548	7,48785	6,51838	9,63135	6,40459
8,20448	8,33249	6,49854	10,09821	6,81979
6,95272	7,55637	5,15602	9,42515	5,62301
7,84354	7,82006	6,41319	10,53741	6,90830
7,48369	7,79399	6,42940	10,07299	6,64594
8,11835	8,11038	6,67521	10,24185	7,01693
7,22443	7,22384	6,70997	9,01643	6,22227
8,38098	8,48050	6,95970	10,49834	7,66023
7,62259	8,16253	6,19229	9,43574	6,42657
7,25398	7,71330	6,39993	9,74414	5,92725
7,75125	6,86387	6,21183	9,51240	5,84533
8,45845	8,12096	7,10920	10,10965	7,31710
7,21707	7,62354	5,91255	10,21085	6,35521
7,31901	7,23862	5,99931	9,89936	6,80565
7,48130	7,54473	6,12719	9,46886	6,82650
9,22369	8,86837	8,39069	11,57642	8,35207
8,03526	7,50662	8,91110	9,16649	6,69597
8,00038	8,20780	6,89878	10,62531	6,92256
8,44675	8,56311	7,05326	11,25477	8,00426
7,92548	8,48102	6,76918	9,76463	6,14834
8,16256	8,17659	7,39893	11,22425	8,08033
8,85850	8,71302	8,19076	11,42949	8,89538
8,91766	8,56081	7,72390	11,18646	9,48673
8,87177	9,20258	7,90150	10,32998	7,73703463




\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
R Framework error message & 
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
\tabularnewline R Engine error message &
Error in array(list(7.11529, 6.70065, 5.47095, 9.05642, 5.36065, 6.38495,  : 
  length of 'dimnames' [1] not equal to array extent
Execution halted
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=319793&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] [ROW]R Framework error message[/C][C]
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
[/C][/ROW] [ROW]
R Engine error message[/C][C]
Error in array(list(7.11529, 6.70065, 5.47095, 9.05642, 5.36065, 6.38495,  : 
  length of 'dimnames' [1] not equal to array extent
Execution halted
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=319793&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=319793&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
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
R Engine error message
Error in array(list(7.11529, 6.70065, 5.47095, 9.05642, 5.36065, 6.38495,  : 
  length of 'dimnames' [1] not equal to array extent
Execution halted



Parameters (Session):
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')
}