Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_hierarchicalclustering.wasp
Title produced by softwareHierarchical Clustering
Date of computationThu, 19 Nov 2015 17:26:19 +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/19/t1447954129ypfoap69srkbi89.htm/, Retrieved Tue, 14 May 2024 21:04:21 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=283661, Retrieved Tue, 14 May 2024 21:04:21 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact73
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Hierarchical Clustering] [Rodolfo 50] [2015-11-19 17:26:19] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
0.33 0.50 0.00 0.25 0.00 0.00 0.33 0.25 0.50 1.00 0.33 0.33 1.00 1.00 0.00 0.00
0.66 0.50 0.00 0.66 0.75 0.33 0.75 0.75 0.50 0.75 0.66 0.33 0.66 0.66 0.33 0.33
0.66 0.50 0.75 0.25 0.25 0.33 0.75 0.50 0.50 0.33 0.33 0.75 1.00 0.75 0.33 0.75
0.33 0.50 0.00 0.25 0.50 0.66 0.66 0.50 0.50 0.66 0.33 0.66 0.33 0.66 0.33 0.00
0.66 1.00 0.66 0.66 0.75 0.66 0.66 0.75 1.00 0.66 0.33 0.66 0.33 0.66 0.66 0.66
0.66 1.00 0.66 0.66 0.50 0.66 0.66 0.75 1.00 0.66 0.33 0.66 0.33 0.66 0.33 0.33
1.00 1.00 0.66 0.66 0.75 0.66 0.66 0.75 1.00 1.00 0.66 0.66 0.33 0.66 0.66 1.00
1.00 0.00 1.00 1.00 0.75 0.66 0.66 0.75 1.00 1.00 0.66 0.66 0.33 0.66 0.66 0.66
1.00 1.00 1.00 1.00 1.00 0.66 0.66 1.00 0.00 1.00 1.00 1.00 0.33 0.66 1.00 1.00
0.66 1.00 0.66 0.66 0.75 0.66 0.66 0.75 0.50 0.66 0.33 0.33 0.66 1.00 0.66 0.66
0.66 1.00 1.00 1.00 1.00 0.66 0.66 1.00 1.00 0.66 0.66 0.66 0.33 0.66 0.66 0.66
0.66 1.00 1.00 0.66 1.00 0.66 0.25 0.75 0.50 0.66 0.66 0.66 0.66 0.66 0.66 0.33
0.66 1.00 0.66 0.66 0.75 0.66 0.75 0.50 0.50 0.33 0.33 0.33 0.33 0.66 0.33 0.33
0.25 0.50 0.66 0.33 0.50 0.33 0.66 0.50 0.50 0.66 0.66 0.33 0.66 0.33 0.33 0.33
0.33 0.50 0.33 0.33 0.00 0.33 0.33 0.33 0.50 1.00 0.00 0.00 1.00 0.33 0.00 0.00
0.33 0.50 0.33 0.33 0.33 0.33 0.33 0.33 0.50 1.00 0.33 0.33 0.66 0.33 0.00 0.00
0.33 1.00 0.33 0.33 0.00 0.33 0.33 0.25 0.50 0.66 0.00 0.33 0.66 0.33 0.00 0.00
0.33 1.00 0.33 0.33 0.25 0.33 0.33 0.25 0.50 0.66 0.33 0.33 0.66 0.66 0.33 0.00
0.33 0.00 0.66 0.33 0.25 0.33 0.33 0.50 0.50 0.66 0.66 0.33 0.66 0.66 0.33 0.00
0.33 0.50 0.33 0.33 0.00 0.33 0.33 0.25 0.50 1.00 0.00 0.33 1.00 0.33 0.33 0.00
0.25 0.50 0.33 0.33 0.00 0.33 0.33 0.25 0.00 1.00 0.33 0.33 0.66 0.33 0.33 0.00
0.25 0.50 0.66 0.33 0.33 0.00 0.33 0.25 0.50 1.00 0.33 0.33 1.00 0.33 0.00 0.00
0.00 0.50 0.33 0.00 0.00 0.00 0.33 0.25 0.50 1.00 0.00 0.33 1.00 0.00 0.00 0.00
0.33 0.50 0.66 0.00 0.33 0.33 0.33 0.50 0.50 0.66 0.33 0.33 1.00 0.33 0.00 0.00
0.00 0.50 0.33 0.00 0.00 0.00 0.00 0.33 0.50 0.66 0.33 0.00 1.00 0.00 0.33 0.00
0.00 0.50 0.00 0.00 0.00 0.00 0.33 0.33 0.00 0.66 0.33 0.00 1.00 0.00 0.33 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.33 0.25 0.50 1.00 0.33 0.00 0.66 0.33 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.33 0.25 0.50 1.00 0.33 0.00 0.66 0.00 0.00 0.00
0.00 0.00 0.00 0.33 0.00 0.00 0.33 0.25 0.50 1.00 0.00 0.00 0.66 0.33 0.00 0.00
0.00 0.50 0.00 0.33 0.00 0.00 0.33 0.25 0.00 1.00 0.00 0.00 0.66 0.33 0.00 0.00
0.33 0.50 0.33 0.00 0.00 0.33 0.33 0.25 0.50 1.00 0.33 0.33 0.66 0.33 0.00 0.00
0.33 0.50 0.33 0.00 0.00 0.33 0.33 0.25 0.50 1.00 0.66 0.33 0.66 0.66 0.00 0.33
0.33 0.50 0.33 0.33 0.00 0.33 0.33 0.25 0.50 1.00 0.66 0.33 1.00 0.66 0.33 0.33
0.33 0.50 0.33 0.00 0.00 0.33 0.33 0.25 0.50 1.00 0.66 0.33 1.00 0.66 0.33 0.33
0.33 0.50 0.33 0.33 0.00 0.33 0.33 0.25 0.50 1.00 0.66 0.66 1.00 0.66 0.33 0.00
0.33 0.50 0.66 0.33 0.00 0.33 0.33 0.50 0.50 1.00 0.66 0.66 1.00 0.66 0.33 0.00
0.33 0.50 0.66 0.00 0.25 0.33 0.33 0.50 0.50 1.00 0.66 0.66 1.00 0.66 0.33 0.00
0.66 0.50 0.33 0.00 0.25 0.33 0.66 0.50 0.50 1.00 1.00 1.00 1.00 0.66 0.33 0.33
0.66 0.50 0.33 0.00 0.25 0.33 0.33 0.50 0.50 1.00 1.00 1.00 1.00 0.66 0.33 0.33
0.66 0.50 0.33 0.00 0.25 0.33 0.00 0.50 0.50 1.00 1.00 1.00 1.00 0.66 0.33 0.66
0.33 0.00 0.33 0.00 0.00 0.33 0.33 0.33 0.50 1.00 1.00 1.00 1.00 1.00 0.33 0.66
0.66 0.50 0.66 0.33 0.25 0.33 0.33 0.50 0.50 1.00 1.00 1.00 0.66 1.00 0.66 0.66
0.66 0.50 0.66 0.33 0.25 0.33 0.66 0.50 0.50 1.00 1.00 0.66 1.00 1.00 0.66 0.33
0.33 1.00 0.66 0.33 0.25 0.33 0.66 0.50 0.50 1.00 1.00 0.66 0.66 1.00 0.66 0.66
0.33 0.50 0.66 0.33 0.25 0.33 0.66 0.75 0.50 1.00 1.00 0.66 0.66 1.00 0.66 0.66
0.33 0.50 0.66 0.33 0.25 0.33 0.66 0.75 0.50 1.00 1.00 0.66 0.66 1.00 0.66 0.66
0.33 0.50 0.66 0.33 0.25 0.66 0.33 0.50 0.50 1.00 1.00 0.66 1.00 1.00 0.66 0.66
0.33 1.00 0.66 0.66 0.50 0.66 0.66 0.75 0.50 1.00 1.00 1.00 1.00 1.00 0.66 1.00
0.33 0.00 0.66 0.66 0.75 0.66 0.66 0.75 1.00 1.00 1.00 1.00 1.00 1.00 0.66 1.00
0.33 1.00 0.66 0.66 0.50 0.66 0.66 0.75 1.00 1.00 1.00 1.00 1.00 1.00 0.66 1.00
0.33 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 0.66 1.00




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283661&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'Gertrude Mary Cox' @ cox.wessa.net







Summary of Dendrogram
LabelHeight
10
20.33
30.33
40.33
50.414004830889689
60.473497624070069
70.473497624070069
80.5
90.528329108118015
100.529433659677962
110.582178161387234
120.590814873966245
130.623858958419289
140.634271235355979
150.66
160.673432830280051
170.683959063102464
180.693061938772035
190.74535599249993
200.76341746699328
210.788542960148653
220.803492377064027
230.828920000733624
240.838450952650183
250.951052824290855
260.976483713939005
270.981172767661231
280.982823544106292
291.00373946376446
301.00740159227048
311.00833078687658
321.03001826462678
331.03611931592296
341.09510499596577
351.23431675234502
361.26150703525585
371.28757401049551
381.3366500370655
391.38672741605455
401.43580151465172
411.50562206941096
421.88009788434012
431.96494868778775
442.37666774762417
452.47989389067487
462.69293129791661
473.24542757419829
483.94722911513787
499.19430380266528
5013.7950200696409

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 0 \tabularnewline
2 & 0.33 \tabularnewline
3 & 0.33 \tabularnewline
4 & 0.33 \tabularnewline
5 & 0.414004830889689 \tabularnewline
6 & 0.473497624070069 \tabularnewline
7 & 0.473497624070069 \tabularnewline
8 & 0.5 \tabularnewline
9 & 0.528329108118015 \tabularnewline
10 & 0.529433659677962 \tabularnewline
11 & 0.582178161387234 \tabularnewline
12 & 0.590814873966245 \tabularnewline
13 & 0.623858958419289 \tabularnewline
14 & 0.634271235355979 \tabularnewline
15 & 0.66 \tabularnewline
16 & 0.673432830280051 \tabularnewline
17 & 0.683959063102464 \tabularnewline
18 & 0.693061938772035 \tabularnewline
19 & 0.74535599249993 \tabularnewline
20 & 0.76341746699328 \tabularnewline
21 & 0.788542960148653 \tabularnewline
22 & 0.803492377064027 \tabularnewline
23 & 0.828920000733624 \tabularnewline
24 & 0.838450952650183 \tabularnewline
25 & 0.951052824290855 \tabularnewline
26 & 0.976483713939005 \tabularnewline
27 & 0.981172767661231 \tabularnewline
28 & 0.982823544106292 \tabularnewline
29 & 1.00373946376446 \tabularnewline
30 & 1.00740159227048 \tabularnewline
31 & 1.00833078687658 \tabularnewline
32 & 1.03001826462678 \tabularnewline
33 & 1.03611931592296 \tabularnewline
34 & 1.09510499596577 \tabularnewline
35 & 1.23431675234502 \tabularnewline
36 & 1.26150703525585 \tabularnewline
37 & 1.28757401049551 \tabularnewline
38 & 1.3366500370655 \tabularnewline
39 & 1.38672741605455 \tabularnewline
40 & 1.43580151465172 \tabularnewline
41 & 1.50562206941096 \tabularnewline
42 & 1.88009788434012 \tabularnewline
43 & 1.96494868778775 \tabularnewline
44 & 2.37666774762417 \tabularnewline
45 & 2.47989389067487 \tabularnewline
46 & 2.69293129791661 \tabularnewline
47 & 3.24542757419829 \tabularnewline
48 & 3.94722911513787 \tabularnewline
49 & 9.19430380266528 \tabularnewline
50 & 13.7950200696409 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283661&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.33[/C][/ROW]
[ROW][C]3[/C][C]0.33[/C][/ROW]
[ROW][C]4[/C][C]0.33[/C][/ROW]
[ROW][C]5[/C][C]0.414004830889689[/C][/ROW]
[ROW][C]6[/C][C]0.473497624070069[/C][/ROW]
[ROW][C]7[/C][C]0.473497624070069[/C][/ROW]
[ROW][C]8[/C][C]0.5[/C][/ROW]
[ROW][C]9[/C][C]0.528329108118015[/C][/ROW]
[ROW][C]10[/C][C]0.529433659677962[/C][/ROW]
[ROW][C]11[/C][C]0.582178161387234[/C][/ROW]
[ROW][C]12[/C][C]0.590814873966245[/C][/ROW]
[ROW][C]13[/C][C]0.623858958419289[/C][/ROW]
[ROW][C]14[/C][C]0.634271235355979[/C][/ROW]
[ROW][C]15[/C][C]0.66[/C][/ROW]
[ROW][C]16[/C][C]0.673432830280051[/C][/ROW]
[ROW][C]17[/C][C]0.683959063102464[/C][/ROW]
[ROW][C]18[/C][C]0.693061938772035[/C][/ROW]
[ROW][C]19[/C][C]0.74535599249993[/C][/ROW]
[ROW][C]20[/C][C]0.76341746699328[/C][/ROW]
[ROW][C]21[/C][C]0.788542960148653[/C][/ROW]
[ROW][C]22[/C][C]0.803492377064027[/C][/ROW]
[ROW][C]23[/C][C]0.828920000733624[/C][/ROW]
[ROW][C]24[/C][C]0.838450952650183[/C][/ROW]
[ROW][C]25[/C][C]0.951052824290855[/C][/ROW]
[ROW][C]26[/C][C]0.976483713939005[/C][/ROW]
[ROW][C]27[/C][C]0.981172767661231[/C][/ROW]
[ROW][C]28[/C][C]0.982823544106292[/C][/ROW]
[ROW][C]29[/C][C]1.00373946376446[/C][/ROW]
[ROW][C]30[/C][C]1.00740159227048[/C][/ROW]
[ROW][C]31[/C][C]1.00833078687658[/C][/ROW]
[ROW][C]32[/C][C]1.03001826462678[/C][/ROW]
[ROW][C]33[/C][C]1.03611931592296[/C][/ROW]
[ROW][C]34[/C][C]1.09510499596577[/C][/ROW]
[ROW][C]35[/C][C]1.23431675234502[/C][/ROW]
[ROW][C]36[/C][C]1.26150703525585[/C][/ROW]
[ROW][C]37[/C][C]1.28757401049551[/C][/ROW]
[ROW][C]38[/C][C]1.3366500370655[/C][/ROW]
[ROW][C]39[/C][C]1.38672741605455[/C][/ROW]
[ROW][C]40[/C][C]1.43580151465172[/C][/ROW]
[ROW][C]41[/C][C]1.50562206941096[/C][/ROW]
[ROW][C]42[/C][C]1.88009788434012[/C][/ROW]
[ROW][C]43[/C][C]1.96494868778775[/C][/ROW]
[ROW][C]44[/C][C]2.37666774762417[/C][/ROW]
[ROW][C]45[/C][C]2.47989389067487[/C][/ROW]
[ROW][C]46[/C][C]2.69293129791661[/C][/ROW]
[ROW][C]47[/C][C]3.24542757419829[/C][/ROW]
[ROW][C]48[/C][C]3.94722911513787[/C][/ROW]
[ROW][C]49[/C][C]9.19430380266528[/C][/ROW]
[ROW][C]50[/C][C]13.7950200696409[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283661&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283661&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.33
30.33
40.33
50.414004830889689
60.473497624070069
70.473497624070069
80.5
90.528329108118015
100.529433659677962
110.582178161387234
120.590814873966245
130.623858958419289
140.634271235355979
150.66
160.673432830280051
170.683959063102464
180.693061938772035
190.74535599249993
200.76341746699328
210.788542960148653
220.803492377064027
230.828920000733624
240.838450952650183
250.951052824290855
260.976483713939005
270.981172767661231
280.982823544106292
291.00373946376446
301.00740159227048
311.00833078687658
321.03001826462678
331.03611931592296
341.09510499596577
351.23431675234502
361.26150703525585
371.28757401049551
381.3366500370655
391.38672741605455
401.43580151465172
411.50562206941096
421.88009788434012
431.96494868778775
442.37666774762417
452.47989389067487
462.69293129791661
473.24542757419829
483.94722911513787
499.19430380266528
5013.7950200696409







Summary of Cut Dendrogram
LabelHeight
10.507892814588975
20.581349005904944
30.711195687244766
40.780274957947835
50.817896607836902
60.820308630943257
70.857012081162868
80.915095623418668
91.0070089602123
101.19155925070656
111.19668153919067
121.21423967467822
131.24057173145488
141.32653873588703
151.46145499326972
161.56329505169826
172.26944167551352
183.41143981269994
196.81102252583407

\begin{tabular}{lllllllll}
\hline
Summary of Cut Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 0.507892814588975 \tabularnewline
2 & 0.581349005904944 \tabularnewline
3 & 0.711195687244766 \tabularnewline
4 & 0.780274957947835 \tabularnewline
5 & 0.817896607836902 \tabularnewline
6 & 0.820308630943257 \tabularnewline
7 & 0.857012081162868 \tabularnewline
8 & 0.915095623418668 \tabularnewline
9 & 1.0070089602123 \tabularnewline
10 & 1.19155925070656 \tabularnewline
11 & 1.19668153919067 \tabularnewline
12 & 1.21423967467822 \tabularnewline
13 & 1.24057173145488 \tabularnewline
14 & 1.32653873588703 \tabularnewline
15 & 1.46145499326972 \tabularnewline
16 & 1.56329505169826 \tabularnewline
17 & 2.26944167551352 \tabularnewline
18 & 3.41143981269994 \tabularnewline
19 & 6.81102252583407 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283661&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.507892814588975[/C][/ROW]
[ROW][C]2[/C][C]0.581349005904944[/C][/ROW]
[ROW][C]3[/C][C]0.711195687244766[/C][/ROW]
[ROW][C]4[/C][C]0.780274957947835[/C][/ROW]
[ROW][C]5[/C][C]0.817896607836902[/C][/ROW]
[ROW][C]6[/C][C]0.820308630943257[/C][/ROW]
[ROW][C]7[/C][C]0.857012081162868[/C][/ROW]
[ROW][C]8[/C][C]0.915095623418668[/C][/ROW]
[ROW][C]9[/C][C]1.0070089602123[/C][/ROW]
[ROW][C]10[/C][C]1.19155925070656[/C][/ROW]
[ROW][C]11[/C][C]1.19668153919067[/C][/ROW]
[ROW][C]12[/C][C]1.21423967467822[/C][/ROW]
[ROW][C]13[/C][C]1.24057173145488[/C][/ROW]
[ROW][C]14[/C][C]1.32653873588703[/C][/ROW]
[ROW][C]15[/C][C]1.46145499326972[/C][/ROW]
[ROW][C]16[/C][C]1.56329505169826[/C][/ROW]
[ROW][C]17[/C][C]2.26944167551352[/C][/ROW]
[ROW][C]18[/C][C]3.41143981269994[/C][/ROW]
[ROW][C]19[/C][C]6.81102252583407[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283661&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283661&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.507892814588975
20.581349005904944
30.711195687244766
40.780274957947835
50.817896607836902
60.820308630943257
70.857012081162868
80.915095623418668
91.0070089602123
101.19155925070656
111.19668153919067
121.21423967467822
131.24057173145488
141.32653873588703
151.46145499326972
161.56329505169826
172.26944167551352
183.41143981269994
196.81102252583407



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