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 computationSat, 08 Nov 2008 09:16:05 -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/08/t1226160999k6471l9734mmucs.htm/, Retrieved Sun, 19 May 2024 12:01:15 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=22623, Retrieved Sun, 19 May 2024 12:01:15 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact150
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F       [Hierarchical Clustering] [Various EDA topic...] [2008-11-08 16:16:05] [0f30549460cf4ec26d9cf94b1fcf7789] [Current]
Feedback Forum
2008-11-12 16:10:51 [Veerle Jackers] [reply
Ik wist niet goed hoe ik deze grafiek moest aflezen.
Onder de rechtertak liggen dus hier het meeste observaties.
2008-11-24 18:30:19 [Niels Herremans] [reply
Bij clustering wordt er nagegaan welke observaties gemeenschappelijk/gelijkaardig zijn. Deze methode wordt meestal gebruikt bij niet-tijdreeksen.

Post a new message
Dataseries X:
106.60	0.33	1.00	526.4
106.80	0.33	1.04	526.4
107.00	0.32	1.02	526.4
107.10	0.33	1.07	526.4
107.30	0.34	1.12	526.4
107.40	0.36	1.08	526.4
107.60	0.34	1.02	542.9
107.70	0.33	1.01	542.9
107.90	0.35	1.04	542.9
108.20	0.31	0.98	542.9
108.30	0.28	0.95	542.9
108.50	0.26	0.94	542.9
108.92	0.26	0.94	556.11
109.23	0.26	0.96	556.11
109.41	0.29	0.97	556.11
109.65	0.30	1.03	556.11
109.91	0.30	1.01	556.11
110.01	0.28	0.99	556.11
110.20	0.29	1.00	557.07
110.49	0.29	1.00	557.07
110.57	0.32	1.02	557.07
110.72	0.33	1.01	557.07
110.94	0.29	0.99	557.07
111.09	0.31	0.98	557.07
111.28	0.33	1.01	564.29
111.41	0.36	1.03	564.29
111.62	0.39	1.03	564.29
111.76	0.30	1.00	564.29
111.89	0.27	0.96	564.29
112.04	0.28	0.97	564.29
112.12	0.29	0.98	569
112.30	0.30	1.02	569
112.47	0.30	1.04	569
112.59	0.30	1.01	569
112.78	0.31	1.01	569
112.73	0.30	1.00	569
112.99	0.31	1.01	575
113.10	0.29	1.02	575
113.33	0.32	1.03	575
113.38	0.33	1.06	575
113.68	0.35	1.12	575
113.65	0.35	1.12	575
113.81	0.36	1.13	594.51
113.88	0.40	1.13	594.51
114.02	0.40	1.13	594.51
114.25	0.47	1.17	594.51
114.28	0.43	1.14	594.51
114.38	0.38	1.08	594.51
114.73	0.38	1.07	603.88
114.97	0.40	1.12	603.88
115.05	0.45	1.14	603.88
115.29	0.47	1.21	603.88
115.37	0.45	1.20	603.88
115.54	0.50	1.23	603.88
115.76	0.54	1.29	610.02
115.92	0.55	1.31	610.02
116.02	0.59	1.37	610.02
116.21	0.51	1.35	610.02
116.26	0.50	1.26	610.02
116.51	0.50	1.26	610.02
106.60	0.33	1.00	526.4
106.80	0.33	1.04	526.4
107.00	0.32	1.02	526.4
107.10	0.33	1.07	526.4
107.30	0.34	1.12	526.4
107.40	0.36	1.08	526.4
107.60	0.34	1.02	542.9
107.70	0.33	1.01	542.9
107.90	0.35	1.04	542.9
108.20	0.31	0.98	542.9
108.30	0.28	0.95	542.9
108.50	0.26	0.94	542.9
108.92	0.26	0.94	556.11
109.23	0.26	0.96	556.11
109.41	0.29	0.97	556.11
109.65	0.30	1.03	556.11
109.91	0.30	1.01	556.11
110.01	0.28	0.99	556.11
110.20	0.29	1.00	557.07
110.49	0.29	1.00	557.07
110.57	0.32	1.02	557.07
110.72	0.33	1.01	557.07
110.94	0.29	0.99	557.07
111.09	0.31	0.98	557.07
111.28	0.33	1.01	564.29
111.41	0.36	1.03	564.29
111.62	0.39	1.03	564.29
111.76	0.30	1.00	564.29
111.89	0.27	0.96	564.29
112.04	0.28	0.97	564.29
112.12	0.29	0.98	569
112.30	0.30	1.02	569
112.47	0.30	1.04	569
112.59	0.30	1.01	569
112.78	0.31	1.01	569
112.73	0.30	1.00	569
112.99	0.31	1.01	575
113.10	0.29	1.02	575
113.33	0.32	1.03	575
113.38	0.33	1.06	575
113.68	0.35	1.12	575
113.65	0.35	1.12	575
113.81	0.36	1.13	594.51
113.88	0.40	1.13	594.51
114.02	0.40	1.13	594.51
114.25	0.47	1.17	594.51
114.28	0.43	1.14	594.51
114.38	0.38	1.08	594.51
114.73	0.38	1.07	603.88
114.97	0.40	1.12	603.88
115.05	0.45	1.14	603.88
115.29	0.47	1.21	603.88
115.37	0.45	1.20	603.88
115.54	0.50	1.23	603.88
115.76	0.54	1.29	610.02
115.92	0.55	1.31	610.02
116.02	0.59	1.37	610.02
116.21	0.51	1.35	610.02
116.26	0.50	1.26	610.02
116.51	0.50	1.26	610.02




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 4 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=22623&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]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=22623&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=22623&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 time4 seconds
R Server'George Udny Yule' @ 72.249.76.132







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
280
290
300
310
320
330
340
350
360
370
380
390
400
410
420
430
440
450
460
470
480
490
500
510
520
530
540
550
560
570
580
590
600
610.0600000000000023
620.103923048454127
630.116619037896907
640.118321595661988
650.161245154965959
660.166132477258358
670.175499287747839
680.192873015219856
690.201990098767258
700.206881608655783
710.207846096908282
720.217255609823994
730.219089023002082
740.224499443206426
750.224499443206435
760.24657656011875
770.247386337537068
780.269814751264632
790.278567765543674
800.303315017762073
810.365513337649927
820.369323706252373
830.372886759889151
840.407921561087428
850.417952392697099
860.453942398276269
870.484446846156192
880.50199618387083
890.521034009397104
900.604744891689389
910.604919264696723
920.654014234474172
930.682197853541218
940.710282544278514
950.72963262916197
960.762098286567156
970.948132616029353
981.00957312289436
991.02602423863257
1001.08084524748100
1011.70661737649164
1021.80940046661996
1031.90271097461706
1041.93140665535454
1051.99483047629486
1062.02163765049942
1072.0270365970748
1082.19961719660850
1092.83024262816904
1102.89982602415191
11113.7852392269897
11254.12926652129
11371.1076915474222
114112.698002334929
115172.548453725608
116194.306176958378
117292.133308008722
118740.796692586674
1191771.84053553447

\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 \tabularnewline
28 & 0 \tabularnewline
29 & 0 \tabularnewline
30 & 0 \tabularnewline
31 & 0 \tabularnewline
32 & 0 \tabularnewline
33 & 0 \tabularnewline
34 & 0 \tabularnewline
35 & 0 \tabularnewline
36 & 0 \tabularnewline
37 & 0 \tabularnewline
38 & 0 \tabularnewline
39 & 0 \tabularnewline
40 & 0 \tabularnewline
41 & 0 \tabularnewline
42 & 0 \tabularnewline
43 & 0 \tabularnewline
44 & 0 \tabularnewline
45 & 0 \tabularnewline
46 & 0 \tabularnewline
47 & 0 \tabularnewline
48 & 0 \tabularnewline
49 & 0 \tabularnewline
50 & 0 \tabularnewline
51 & 0 \tabularnewline
52 & 0 \tabularnewline
53 & 0 \tabularnewline
54 & 0 \tabularnewline
55 & 0 \tabularnewline
56 & 0 \tabularnewline
57 & 0 \tabularnewline
58 & 0 \tabularnewline
59 & 0 \tabularnewline
60 & 0 \tabularnewline
61 & 0.0600000000000023 \tabularnewline
62 & 0.103923048454127 \tabularnewline
63 & 0.116619037896907 \tabularnewline
64 & 0.118321595661988 \tabularnewline
65 & 0.161245154965959 \tabularnewline
66 & 0.166132477258358 \tabularnewline
67 & 0.175499287747839 \tabularnewline
68 & 0.192873015219856 \tabularnewline
69 & 0.201990098767258 \tabularnewline
70 & 0.206881608655783 \tabularnewline
71 & 0.207846096908282 \tabularnewline
72 & 0.217255609823994 \tabularnewline
73 & 0.219089023002082 \tabularnewline
74 & 0.224499443206426 \tabularnewline
75 & 0.224499443206435 \tabularnewline
76 & 0.24657656011875 \tabularnewline
77 & 0.247386337537068 \tabularnewline
78 & 0.269814751264632 \tabularnewline
79 & 0.278567765543674 \tabularnewline
80 & 0.303315017762073 \tabularnewline
81 & 0.365513337649927 \tabularnewline
82 & 0.369323706252373 \tabularnewline
83 & 0.372886759889151 \tabularnewline
84 & 0.407921561087428 \tabularnewline
85 & 0.417952392697099 \tabularnewline
86 & 0.453942398276269 \tabularnewline
87 & 0.484446846156192 \tabularnewline
88 & 0.50199618387083 \tabularnewline
89 & 0.521034009397104 \tabularnewline
90 & 0.604744891689389 \tabularnewline
91 & 0.604919264696723 \tabularnewline
92 & 0.654014234474172 \tabularnewline
93 & 0.682197853541218 \tabularnewline
94 & 0.710282544278514 \tabularnewline
95 & 0.72963262916197 \tabularnewline
96 & 0.762098286567156 \tabularnewline
97 & 0.948132616029353 \tabularnewline
98 & 1.00957312289436 \tabularnewline
99 & 1.02602423863257 \tabularnewline
100 & 1.08084524748100 \tabularnewline
101 & 1.70661737649164 \tabularnewline
102 & 1.80940046661996 \tabularnewline
103 & 1.90271097461706 \tabularnewline
104 & 1.93140665535454 \tabularnewline
105 & 1.99483047629486 \tabularnewline
106 & 2.02163765049942 \tabularnewline
107 & 2.0270365970748 \tabularnewline
108 & 2.19961719660850 \tabularnewline
109 & 2.83024262816904 \tabularnewline
110 & 2.89982602415191 \tabularnewline
111 & 13.7852392269897 \tabularnewline
112 & 54.12926652129 \tabularnewline
113 & 71.1076915474222 \tabularnewline
114 & 112.698002334929 \tabularnewline
115 & 172.548453725608 \tabularnewline
116 & 194.306176958378 \tabularnewline
117 & 292.133308008722 \tabularnewline
118 & 740.796692586674 \tabularnewline
119 & 1771.84053553447 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=22623&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[/C][/ROW]
[ROW][C]28[/C][C]0[/C][/ROW]
[ROW][C]29[/C][C]0[/C][/ROW]
[ROW][C]30[/C][C]0[/C][/ROW]
[ROW][C]31[/C][C]0[/C][/ROW]
[ROW][C]32[/C][C]0[/C][/ROW]
[ROW][C]33[/C][C]0[/C][/ROW]
[ROW][C]34[/C][C]0[/C][/ROW]
[ROW][C]35[/C][C]0[/C][/ROW]
[ROW][C]36[/C][C]0[/C][/ROW]
[ROW][C]37[/C][C]0[/C][/ROW]
[ROW][C]38[/C][C]0[/C][/ROW]
[ROW][C]39[/C][C]0[/C][/ROW]
[ROW][C]40[/C][C]0[/C][/ROW]
[ROW][C]41[/C][C]0[/C][/ROW]
[ROW][C]42[/C][C]0[/C][/ROW]
[ROW][C]43[/C][C]0[/C][/ROW]
[ROW][C]44[/C][C]0[/C][/ROW]
[ROW][C]45[/C][C]0[/C][/ROW]
[ROW][C]46[/C][C]0[/C][/ROW]
[ROW][C]47[/C][C]0[/C][/ROW]
[ROW][C]48[/C][C]0[/C][/ROW]
[ROW][C]49[/C][C]0[/C][/ROW]
[ROW][C]50[/C][C]0[/C][/ROW]
[ROW][C]51[/C][C]0[/C][/ROW]
[ROW][C]52[/C][C]0[/C][/ROW]
[ROW][C]53[/C][C]0[/C][/ROW]
[ROW][C]54[/C][C]0[/C][/ROW]
[ROW][C]55[/C][C]0[/C][/ROW]
[ROW][C]56[/C][C]0[/C][/ROW]
[ROW][C]57[/C][C]0[/C][/ROW]
[ROW][C]58[/C][C]0[/C][/ROW]
[ROW][C]59[/C][C]0[/C][/ROW]
[ROW][C]60[/C][C]0[/C][/ROW]
[ROW][C]61[/C][C]0.0600000000000023[/C][/ROW]
[ROW][C]62[/C][C]0.103923048454127[/C][/ROW]
[ROW][C]63[/C][C]0.116619037896907[/C][/ROW]
[ROW][C]64[/C][C]0.118321595661988[/C][/ROW]
[ROW][C]65[/C][C]0.161245154965959[/C][/ROW]
[ROW][C]66[/C][C]0.166132477258358[/C][/ROW]
[ROW][C]67[/C][C]0.175499287747839[/C][/ROW]
[ROW][C]68[/C][C]0.192873015219856[/C][/ROW]
[ROW][C]69[/C][C]0.201990098767258[/C][/ROW]
[ROW][C]70[/C][C]0.206881608655783[/C][/ROW]
[ROW][C]71[/C][C]0.207846096908282[/C][/ROW]
[ROW][C]72[/C][C]0.217255609823994[/C][/ROW]
[ROW][C]73[/C][C]0.219089023002082[/C][/ROW]
[ROW][C]74[/C][C]0.224499443206426[/C][/ROW]
[ROW][C]75[/C][C]0.224499443206435[/C][/ROW]
[ROW][C]76[/C][C]0.24657656011875[/C][/ROW]
[ROW][C]77[/C][C]0.247386337537068[/C][/ROW]
[ROW][C]78[/C][C]0.269814751264632[/C][/ROW]
[ROW][C]79[/C][C]0.278567765543674[/C][/ROW]
[ROW][C]80[/C][C]0.303315017762073[/C][/ROW]
[ROW][C]81[/C][C]0.365513337649927[/C][/ROW]
[ROW][C]82[/C][C]0.369323706252373[/C][/ROW]
[ROW][C]83[/C][C]0.372886759889151[/C][/ROW]
[ROW][C]84[/C][C]0.407921561087428[/C][/ROW]
[ROW][C]85[/C][C]0.417952392697099[/C][/ROW]
[ROW][C]86[/C][C]0.453942398276269[/C][/ROW]
[ROW][C]87[/C][C]0.484446846156192[/C][/ROW]
[ROW][C]88[/C][C]0.50199618387083[/C][/ROW]
[ROW][C]89[/C][C]0.521034009397104[/C][/ROW]
[ROW][C]90[/C][C]0.604744891689389[/C][/ROW]
[ROW][C]91[/C][C]0.604919264696723[/C][/ROW]
[ROW][C]92[/C][C]0.654014234474172[/C][/ROW]
[ROW][C]93[/C][C]0.682197853541218[/C][/ROW]
[ROW][C]94[/C][C]0.710282544278514[/C][/ROW]
[ROW][C]95[/C][C]0.72963262916197[/C][/ROW]
[ROW][C]96[/C][C]0.762098286567156[/C][/ROW]
[ROW][C]97[/C][C]0.948132616029353[/C][/ROW]
[ROW][C]98[/C][C]1.00957312289436[/C][/ROW]
[ROW][C]99[/C][C]1.02602423863257[/C][/ROW]
[ROW][C]100[/C][C]1.08084524748100[/C][/ROW]
[ROW][C]101[/C][C]1.70661737649164[/C][/ROW]
[ROW][C]102[/C][C]1.80940046661996[/C][/ROW]
[ROW][C]103[/C][C]1.90271097461706[/C][/ROW]
[ROW][C]104[/C][C]1.93140665535454[/C][/ROW]
[ROW][C]105[/C][C]1.99483047629486[/C][/ROW]
[ROW][C]106[/C][C]2.02163765049942[/C][/ROW]
[ROW][C]107[/C][C]2.0270365970748[/C][/ROW]
[ROW][C]108[/C][C]2.19961719660850[/C][/ROW]
[ROW][C]109[/C][C]2.83024262816904[/C][/ROW]
[ROW][C]110[/C][C]2.89982602415191[/C][/ROW]
[ROW][C]111[/C][C]13.7852392269897[/C][/ROW]
[ROW][C]112[/C][C]54.12926652129[/C][/ROW]
[ROW][C]113[/C][C]71.1076915474222[/C][/ROW]
[ROW][C]114[/C][C]112.698002334929[/C][/ROW]
[ROW][C]115[/C][C]172.548453725608[/C][/ROW]
[ROW][C]116[/C][C]194.306176958378[/C][/ROW]
[ROW][C]117[/C][C]292.133308008722[/C][/ROW]
[ROW][C]118[/C][C]740.796692586674[/C][/ROW]
[ROW][C]119[/C][C]1771.84053553447[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=22623&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=22623&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
280
290
300
310
320
330
340
350
360
370
380
390
400
410
420
430
440
450
460
470
480
490
500
510
520
530
540
550
560
570
580
590
600
610.0600000000000023
620.103923048454127
630.116619037896907
640.118321595661988
650.161245154965959
660.166132477258358
670.175499287747839
680.192873015219856
690.201990098767258
700.206881608655783
710.207846096908282
720.217255609823994
730.219089023002082
740.224499443206426
750.224499443206435
760.24657656011875
770.247386337537068
780.269814751264632
790.278567765543674
800.303315017762073
810.365513337649927
820.369323706252373
830.372886759889151
840.407921561087428
850.417952392697099
860.453942398276269
870.484446846156192
880.50199618387083
890.521034009397104
900.604744891689389
910.604919264696723
920.654014234474172
930.682197853541218
940.710282544278514
950.72963262916197
960.762098286567156
970.948132616029353
981.00957312289436
991.02602423863257
1001.08084524748100
1011.70661737649164
1021.80940046661996
1031.90271097461706
1041.93140665535454
1051.99483047629486
1062.02163765049942
1072.0270365970748
1082.19961719660850
1092.83024262816904
1102.89982602415191
11113.7852392269897
11254.12926652129
11371.1076915474222
114112.698002334929
115172.548453725608
116194.306176958378
117292.133308008722
118740.796692586674
1191771.84053553447



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