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 computationSun, 21 Dec 2008 07:09:41 -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/Dec/21/t12298703186yahe6lr6tk0vh7.htm/, Retrieved Tue, 14 May 2024 17:01:14 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=35602, Retrieved Tue, 14 May 2024 17:01:14 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact170
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Testing Population Proportion - Critical Value] [vraag 1] [2008-11-09 20:15:31] [c45c87b96bbf32ffc2144fc37d767b2e]
- RM    [Minimum Sample Size - Testing Proportions] [vraag 4] [2008-11-09 20:51:51] [c45c87b96bbf32ffc2144fc37d767b2e]
F RM D    [Hierarchical Clustering] [vraag 2] [2008-11-09 21:30:22] [c45c87b96bbf32ffc2144fc37d767b2e]
-   PD        [Hierarchical Clustering] [dendrogram] [2008-12-21 14:09:41] [3dc594a6c62226e1e98766c4d385bfaa] [Current]
- RMPD          [Histogram] [Histogram groep 1] [2008-12-21 16:48:39] [c45c87b96bbf32ffc2144fc37d767b2e]
-  M D          [Hierarchical Clustering] [] [2009-12-30 13:17:52] [d2d412c7f4d35ffbf5ee5ee89db327d4]
-   PD            [Hierarchical Clustering] [] [2009-12-30 14:13:32] [d2d412c7f4d35ffbf5ee5ee89db327d4]
Feedback Forum

Post a new message
Dataseries X:
524
552
532
511
492
492
493
481
462
457
442
439
488
521
501
485
464
460
467
460
448
443
436
431
484
510
513
503
471
471
476
475
470
461
455
456
517
525
523
519
509
512
519
517
510
509
501
507
569
580
578
565
547
555
562
561
555
544
537
543
594
611
613
611
594
595
591
589
584
573
567
569
621
629
628
612
595
597
593
590
580
574
573
573
620
626
620
588
566
557
561
549
532
526
511
499
555
565
542
527
510
514
517
508
493
490
469
478




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35602&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35602&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35602&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'Gwilym Jenkins' @ 72.249.127.135







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
261
271
281
291
301
311
321
331
341
351
361
371
381
391
401
411
421.33333333333333
431.33333333333333
441.33333333333333
451.5
461.66666666666667
471.66666666666667
481.66666666666667
491.66666666666667
502
512
522
532.4
542.5
552.5
562.5
572.5
582.5
592.66666666666667
602.66666666666667
612.66666666666667
622.66666666666667
633
643
653
663
673
683
693.33333333333333
704
714.33333333333333
724.66666666666667
736
746.33333333333333
756.54444444444445
766.66666666666667
776.66666666666667
787
797.33333333333333
807.5
817.66666666666667
829.5
8310.8888888888889
8414.3333333333333
8514.6666666666667
8617.4444444444444
8717.6666666666667
8818.2222222222222
8918.6
9019.3333333333333
9123.75
9225.3333333333333
9333.5333333333333
9433.6333333333333
9538.2666666666667
9645.5238095238095
9746.8333333333333
9868.4428104575163
99100.311111111111
100118.835164835165
101173.551633986928
102186.066666666667
103211.7
104218.152136752137
105647.647990543735
1061009.92604735883
1073187.55929543076

\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 & 1 \tabularnewline
27 & 1 \tabularnewline
28 & 1 \tabularnewline
29 & 1 \tabularnewline
30 & 1 \tabularnewline
31 & 1 \tabularnewline
32 & 1 \tabularnewline
33 & 1 \tabularnewline
34 & 1 \tabularnewline
35 & 1 \tabularnewline
36 & 1 \tabularnewline
37 & 1 \tabularnewline
38 & 1 \tabularnewline
39 & 1 \tabularnewline
40 & 1 \tabularnewline
41 & 1 \tabularnewline
42 & 1.33333333333333 \tabularnewline
43 & 1.33333333333333 \tabularnewline
44 & 1.33333333333333 \tabularnewline
45 & 1.5 \tabularnewline
46 & 1.66666666666667 \tabularnewline
47 & 1.66666666666667 \tabularnewline
48 & 1.66666666666667 \tabularnewline
49 & 1.66666666666667 \tabularnewline
50 & 2 \tabularnewline
51 & 2 \tabularnewline
52 & 2 \tabularnewline
53 & 2.4 \tabularnewline
54 & 2.5 \tabularnewline
55 & 2.5 \tabularnewline
56 & 2.5 \tabularnewline
57 & 2.5 \tabularnewline
58 & 2.5 \tabularnewline
59 & 2.66666666666667 \tabularnewline
60 & 2.66666666666667 \tabularnewline
61 & 2.66666666666667 \tabularnewline
62 & 2.66666666666667 \tabularnewline
63 & 3 \tabularnewline
64 & 3 \tabularnewline
65 & 3 \tabularnewline
66 & 3 \tabularnewline
67 & 3 \tabularnewline
68 & 3 \tabularnewline
69 & 3.33333333333333 \tabularnewline
70 & 4 \tabularnewline
71 & 4.33333333333333 \tabularnewline
72 & 4.66666666666667 \tabularnewline
73 & 6 \tabularnewline
74 & 6.33333333333333 \tabularnewline
75 & 6.54444444444445 \tabularnewline
76 & 6.66666666666667 \tabularnewline
77 & 6.66666666666667 \tabularnewline
78 & 7 \tabularnewline
79 & 7.33333333333333 \tabularnewline
80 & 7.5 \tabularnewline
81 & 7.66666666666667 \tabularnewline
82 & 9.5 \tabularnewline
83 & 10.8888888888889 \tabularnewline
84 & 14.3333333333333 \tabularnewline
85 & 14.6666666666667 \tabularnewline
86 & 17.4444444444444 \tabularnewline
87 & 17.6666666666667 \tabularnewline
88 & 18.2222222222222 \tabularnewline
89 & 18.6 \tabularnewline
90 & 19.3333333333333 \tabularnewline
91 & 23.75 \tabularnewline
92 & 25.3333333333333 \tabularnewline
93 & 33.5333333333333 \tabularnewline
94 & 33.6333333333333 \tabularnewline
95 & 38.2666666666667 \tabularnewline
96 & 45.5238095238095 \tabularnewline
97 & 46.8333333333333 \tabularnewline
98 & 68.4428104575163 \tabularnewline
99 & 100.311111111111 \tabularnewline
100 & 118.835164835165 \tabularnewline
101 & 173.551633986928 \tabularnewline
102 & 186.066666666667 \tabularnewline
103 & 211.7 \tabularnewline
104 & 218.152136752137 \tabularnewline
105 & 647.647990543735 \tabularnewline
106 & 1009.92604735883 \tabularnewline
107 & 3187.55929543076 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35602&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]1[/C][/ROW]
[ROW][C]27[/C][C]1[/C][/ROW]
[ROW][C]28[/C][C]1[/C][/ROW]
[ROW][C]29[/C][C]1[/C][/ROW]
[ROW][C]30[/C][C]1[/C][/ROW]
[ROW][C]31[/C][C]1[/C][/ROW]
[ROW][C]32[/C][C]1[/C][/ROW]
[ROW][C]33[/C][C]1[/C][/ROW]
[ROW][C]34[/C][C]1[/C][/ROW]
[ROW][C]35[/C][C]1[/C][/ROW]
[ROW][C]36[/C][C]1[/C][/ROW]
[ROW][C]37[/C][C]1[/C][/ROW]
[ROW][C]38[/C][C]1[/C][/ROW]
[ROW][C]39[/C][C]1[/C][/ROW]
[ROW][C]40[/C][C]1[/C][/ROW]
[ROW][C]41[/C][C]1[/C][/ROW]
[ROW][C]42[/C][C]1.33333333333333[/C][/ROW]
[ROW][C]43[/C][C]1.33333333333333[/C][/ROW]
[ROW][C]44[/C][C]1.33333333333333[/C][/ROW]
[ROW][C]45[/C][C]1.5[/C][/ROW]
[ROW][C]46[/C][C]1.66666666666667[/C][/ROW]
[ROW][C]47[/C][C]1.66666666666667[/C][/ROW]
[ROW][C]48[/C][C]1.66666666666667[/C][/ROW]
[ROW][C]49[/C][C]1.66666666666667[/C][/ROW]
[ROW][C]50[/C][C]2[/C][/ROW]
[ROW][C]51[/C][C]2[/C][/ROW]
[ROW][C]52[/C][C]2[/C][/ROW]
[ROW][C]53[/C][C]2.4[/C][/ROW]
[ROW][C]54[/C][C]2.5[/C][/ROW]
[ROW][C]55[/C][C]2.5[/C][/ROW]
[ROW][C]56[/C][C]2.5[/C][/ROW]
[ROW][C]57[/C][C]2.5[/C][/ROW]
[ROW][C]58[/C][C]2.5[/C][/ROW]
[ROW][C]59[/C][C]2.66666666666667[/C][/ROW]
[ROW][C]60[/C][C]2.66666666666667[/C][/ROW]
[ROW][C]61[/C][C]2.66666666666667[/C][/ROW]
[ROW][C]62[/C][C]2.66666666666667[/C][/ROW]
[ROW][C]63[/C][C]3[/C][/ROW]
[ROW][C]64[/C][C]3[/C][/ROW]
[ROW][C]65[/C][C]3[/C][/ROW]
[ROW][C]66[/C][C]3[/C][/ROW]
[ROW][C]67[/C][C]3[/C][/ROW]
[ROW][C]68[/C][C]3[/C][/ROW]
[ROW][C]69[/C][C]3.33333333333333[/C][/ROW]
[ROW][C]70[/C][C]4[/C][/ROW]
[ROW][C]71[/C][C]4.33333333333333[/C][/ROW]
[ROW][C]72[/C][C]4.66666666666667[/C][/ROW]
[ROW][C]73[/C][C]6[/C][/ROW]
[ROW][C]74[/C][C]6.33333333333333[/C][/ROW]
[ROW][C]75[/C][C]6.54444444444445[/C][/ROW]
[ROW][C]76[/C][C]6.66666666666667[/C][/ROW]
[ROW][C]77[/C][C]6.66666666666667[/C][/ROW]
[ROW][C]78[/C][C]7[/C][/ROW]
[ROW][C]79[/C][C]7.33333333333333[/C][/ROW]
[ROW][C]80[/C][C]7.5[/C][/ROW]
[ROW][C]81[/C][C]7.66666666666667[/C][/ROW]
[ROW][C]82[/C][C]9.5[/C][/ROW]
[ROW][C]83[/C][C]10.8888888888889[/C][/ROW]
[ROW][C]84[/C][C]14.3333333333333[/C][/ROW]
[ROW][C]85[/C][C]14.6666666666667[/C][/ROW]
[ROW][C]86[/C][C]17.4444444444444[/C][/ROW]
[ROW][C]87[/C][C]17.6666666666667[/C][/ROW]
[ROW][C]88[/C][C]18.2222222222222[/C][/ROW]
[ROW][C]89[/C][C]18.6[/C][/ROW]
[ROW][C]90[/C][C]19.3333333333333[/C][/ROW]
[ROW][C]91[/C][C]23.75[/C][/ROW]
[ROW][C]92[/C][C]25.3333333333333[/C][/ROW]
[ROW][C]93[/C][C]33.5333333333333[/C][/ROW]
[ROW][C]94[/C][C]33.6333333333333[/C][/ROW]
[ROW][C]95[/C][C]38.2666666666667[/C][/ROW]
[ROW][C]96[/C][C]45.5238095238095[/C][/ROW]
[ROW][C]97[/C][C]46.8333333333333[/C][/ROW]
[ROW][C]98[/C][C]68.4428104575163[/C][/ROW]
[ROW][C]99[/C][C]100.311111111111[/C][/ROW]
[ROW][C]100[/C][C]118.835164835165[/C][/ROW]
[ROW][C]101[/C][C]173.551633986928[/C][/ROW]
[ROW][C]102[/C][C]186.066666666667[/C][/ROW]
[ROW][C]103[/C][C]211.7[/C][/ROW]
[ROW][C]104[/C][C]218.152136752137[/C][/ROW]
[ROW][C]105[/C][C]647.647990543735[/C][/ROW]
[ROW][C]106[/C][C]1009.92604735883[/C][/ROW]
[ROW][C]107[/C][C]3187.55929543076[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35602&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35602&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
261
271
281
291
301
311
321
331
341
351
361
371
381
391
401
411
421.33333333333333
431.33333333333333
441.33333333333333
451.5
461.66666666666667
471.66666666666667
481.66666666666667
491.66666666666667
502
512
522
532.4
542.5
552.5
562.5
572.5
582.5
592.66666666666667
602.66666666666667
612.66666666666667
622.66666666666667
633
643
653
663
673
683
693.33333333333333
704
714.33333333333333
724.66666666666667
736
746.33333333333333
756.54444444444445
766.66666666666667
776.66666666666667
787
797.33333333333333
807.5
817.66666666666667
829.5
8310.8888888888889
8414.3333333333333
8514.6666666666667
8617.4444444444444
8717.6666666666667
8818.2222222222222
8918.6
9019.3333333333333
9123.75
9225.3333333333333
9333.5333333333333
9433.6333333333333
9538.2666666666667
9645.5238095238095
9746.8333333333333
9868.4428104575163
99100.311111111111
100118.835164835165
101173.551633986928
102186.066666666667
103211.7
104218.152136752137
105647.647990543735
1061009.92604735883
1073187.55929543076







Summary of Cut Dendrogram
LabelHeight
15.16666666666663
26.66666666666663
37.25
47.33333333333326
59.33333333333331
69.33333333333337
79.58333333333331
813.3809523809523
914.2166666666667
1014.3235294117647
1117.3939393939394
1217.8040935672514
1336.5838779956427
1437.0270175438597
1545.0399230399231
1654.6333333333334
17145.130890464933
18166.793054037644
19616.103277719645

\begin{tabular}{lllllllll}
\hline
Summary of Cut Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 5.16666666666663 \tabularnewline
2 & 6.66666666666663 \tabularnewline
3 & 7.25 \tabularnewline
4 & 7.33333333333326 \tabularnewline
5 & 9.33333333333331 \tabularnewline
6 & 9.33333333333337 \tabularnewline
7 & 9.58333333333331 \tabularnewline
8 & 13.3809523809523 \tabularnewline
9 & 14.2166666666667 \tabularnewline
10 & 14.3235294117647 \tabularnewline
11 & 17.3939393939394 \tabularnewline
12 & 17.8040935672514 \tabularnewline
13 & 36.5838779956427 \tabularnewline
14 & 37.0270175438597 \tabularnewline
15 & 45.0399230399231 \tabularnewline
16 & 54.6333333333334 \tabularnewline
17 & 145.130890464933 \tabularnewline
18 & 166.793054037644 \tabularnewline
19 & 616.103277719645 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35602&T=2

[TABLE]
[ROW][C]Summary of Cut Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]5.16666666666663[/C][/ROW]
[ROW][C]2[/C][C]6.66666666666663[/C][/ROW]
[ROW][C]3[/C][C]7.25[/C][/ROW]
[ROW][C]4[/C][C]7.33333333333326[/C][/ROW]
[ROW][C]5[/C][C]9.33333333333331[/C][/ROW]
[ROW][C]6[/C][C]9.33333333333337[/C][/ROW]
[ROW][C]7[/C][C]9.58333333333331[/C][/ROW]
[ROW][C]8[/C][C]13.3809523809523[/C][/ROW]
[ROW][C]9[/C][C]14.2166666666667[/C][/ROW]
[ROW][C]10[/C][C]14.3235294117647[/C][/ROW]
[ROW][C]11[/C][C]17.3939393939394[/C][/ROW]
[ROW][C]12[/C][C]17.8040935672514[/C][/ROW]
[ROW][C]13[/C][C]36.5838779956427[/C][/ROW]
[ROW][C]14[/C][C]37.0270175438597[/C][/ROW]
[ROW][C]15[/C][C]45.0399230399231[/C][/ROW]
[ROW][C]16[/C][C]54.6333333333334[/C][/ROW]
[ROW][C]17[/C][C]145.130890464933[/C][/ROW]
[ROW][C]18[/C][C]166.793054037644[/C][/ROW]
[ROW][C]19[/C][C]616.103277719645[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35602&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35602&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
15.16666666666663
26.66666666666663
37.25
47.33333333333326
59.33333333333331
69.33333333333337
79.58333333333331
813.3809523809523
914.2166666666667
1014.3235294117647
1117.3939393939394
1217.8040935672514
1336.5838779956427
1437.0270175438597
1545.0399230399231
1654.6333333333334
17145.130890464933
18166.793054037644
19616.103277719645



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