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 computationWed, 12 Nov 2008 03:45:17 -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/12/t1226487039sqzw99tdetikwzu.htm/, Retrieved Sun, 19 May 2024 10:45:33 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=24095, Retrieved Sun, 19 May 2024 10:45:33 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsLaura_Reussens K_Vanderheggen hundrasmet
Estimated Impact184
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F       [Hierarchical Clustering] [Dendrogram] [2008-11-12 10:45:17] [c9806d8558b4490616784faa930c3842] [Current]
Feedback Forum
2008-11-15 11:25:31 [Käthe Vanderheggen] [reply
Dit is een boomstructuur-diagram. Het wordt gebruikt om weer te geven hoe en waar de clusters zich bevinden ofwel zijn geplaatst. Deze clusters zijn geproduceerd door een clusteralgoritme.
De tijdreeks wordt opgesplitst in 2 delen en dan verder vertakt. De groep van gegevens dat onder een zelfde tak hangt, geven gelijkaardige periodes weer. We kunnen hieruit afleiden dat er inderdaad verschillende gelijkaardige periodes zijn. Het dendrogram is sterk vertakt.
2008-11-15 14:32:01 [Hundra Smet] [reply
Hier heb ik een juist dendrogram, maar geen interpretatie.
ik zou aan de uitleg van Käthe nog het volgende willen toevoegen:

het nut van een dendrogram is dat we kunnen zien welke gegevens in 1 groep zitten en welke we dus anders moeten behandelen.

de periodes onder de linkertak zijn gelijkaardig => gegevens tot gegeven 49 (Xas; moeilijk leesbaar) zitten in de linkercluster. de overige in de rechter.
hieruit kunnen we afleiden dat er een opsplitsing moet worden gemaakt bij de behandeling van de verschillende gegevens.
2008-11-18 10:44:44 [407693b66d7f2e0b350979005057872d] [reply
Q2

Een cluster zoals een dendrogram vertrekken twee takken uit het eerste knooppunt. Alle takken die vertrekken uit de eerste tak zijn gelijkaardig dat wil zeggen dat de eerste maanden vanuit het dendrogram bekeken anders zijn dan de volgende maanden(maanden die zich in de tweede cluster bevinden.
2008-11-18 10:51:09 [407693b66d7f2e0b350979005057872d] [reply
Q2

Een cluster zoals een dendrogram vertrekken twee takken uit het eerste knooppunt. Alle takken die vertrekken uit de eerste tak zijn gelijkaardig dat wil zeggen dat de eerste maanden vanuit het dendrogram bekeken anders zijn dan de volgende maanden(maanden die zich in de tweede cluster bevinden.

2008-11-22 10:56:34 [Roel Geudens] [reply
De uitleg van de studente is wss copy-paste. Dit is ook een zeer vervelende vraag. Ik snap zelf ook niet goed hoe het dendogram juist werkt. Maar wat ik wel denk: als gegevens in eenzelfde cluster zitten, dan zijn ze gelijkaardig.
2008-11-24 10:01:49 [Yannick Van Schil] [reply
Hier is de juiste werkwijze gebruikt, maar er is wel weinig geargumenteerd. Je zou nog kunnen toevoegen dat een dendrogram de gegevens verdeeld in 2 periodes en deze 2 verder verdeeld. Zo kan men zien welke gegevens in de ene groep zit en welke in de andere, beide kunnen anders geinterpreteerd worden
2008-11-24 10:26:07 [Anouk Greeve] [reply
Ze geeft een mooie definitie van wat een dendrogram precies is, maar ze past het niet toe op haar eigen berekening. We kunnen vaststellen dat de waarden van de periodes die indezelfde kluster liggen, rond dezelfde hoogte liggen en dus dezelfde gegevens bevatten.
2008-11-24 13:15:37 [Julian De Ruyter] [reply
Uitleg is correct maar er missen enkele elementen.
Een dendogram geeft gelijkaardige groepen weer PER periode. De computer splitst automatisch de gegevens in 2 clusters. Verder zou je de gelijkaardige groepen nog kunnen bespreken.
2008-11-24 15:01:22 [Ellen Van den Broeck] [reply
Een dendogram is louter exploratief. Er vertrekken in het begin twee takken. Deze worden verder vertakt, per gelijkaardige periodes. Dus periodes in dezelfde tak hebben gelijkaardige kenmerken. De dendogram van de student is zeer vertakt, dit wijst erop dat de er geen grote groepen van periodes zijn die hard op elkaar gelijken.

Post a new message
Dataseries X:
5,8	4,7	7,3
5,8	4,8	7,2
5,7	4,7	7,0
5,5	4,6	6,7
5,3	4,5	6,4
5,2	4,5	6,1
5,3	4,8	6,1
5,3	4,8	5,9
5,0	4,6	5,6
4,8	4,3	5,5
4,9	4,3	5,7
5,3	4,6	6,1
6,0	5,4	6,8
6,2	5,5	7,1
6,4	5,5	7,5
6,4	5,3	7,8
6,4	5,2	7,9
6,2	5,2	7,6
6,1	5,4	7,0
6,0	5,3	6,9
5,9	5,0	7,1
6,2	4,9	7,9
6,2	4,9	8,0
6,4	5,3	7,9
6,8	6,3	7,4
6,9	6,7	7,2
7,0	6,7	7,3
7,0	6,4	7,7
6,9	6,1	7,8
6,7	6,0	7,6
6,6	6,2	7,3
6,5	6,1	7,0
6,4	6,0	6,9
6,5	6,0	7,2
6,5	5,9	7,3
6,6	5,9	7,5
6,7	6,0	7,5
6,8	6,1	7,7
7,2	6,4	8,2
7,6	6,7	8,8
7,6	6,7	8,7
7,3	6,5	8,3
6,4	5,9	7,1
6,1	5,6	6,8
6,3	5,7	7,2
7,1	6,0	8,5
7,5	6,3	9,1
7,4	6,3	8,9
7,1	6,2	8,2
6,8	6,1	7,6
6,9	6,3	7,7
7,2	6,5	8,1
7,4	6,6	8,3
7,3	6,5	8,3
6,9	6,2	7,9
6,9	6,2	7,8
6,8	5,9	8,0
7,1	6,1	8,5
7,2	6,1	8,6
7,1	6,1	8,5
7,0	6,1	8,1
6,9	6,1	7,8
7,0	6,3	7,9
7,4	6,7	8,2
7,5	6,9	8,3
7,5	6,9	8,2
7,4	6,9	8,1
7,3	6,8	8,0
7,0	6,4	7,8
6,7	5,9	7,8
6,5	5,5	7,7
6,5	5,6	7,7
6,5	5,6	7,6
6,6	5,8	7,6
6,8	5,9	7,8
6,9	6,1	8,0
6,9	6,1	8,0
6,8	6,0	7,9
6,8	6,0	7,7
6,5	5,8	7,4
6,1	5,5	6,9
6,0	5,5	6,7
5,9	5,4	6,5
5,8	5,2	6,4
5,9	5,2	6,6
5,9	5,2	6,8
6,2	5,5	7,0
6,3	5,7	6,9
6,2	5,7	6,7
6,0	5,6	6,4
5,8	5,4	6,2
5,5	5,1	5,9
5,5	5,1	6,0
5,7	5,3	6,3
5,8	5,3	6,3
5,7	5,3	6,1




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

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







Summary of Dendrogram
LabelHeight
10
20
30
40
50.0999999999999996
60.0999999999999996
70.0999999999999996
80.0999999999999996
90.0999999999999996
100.0999999999999996
110.0999999999999996
120.0999999999999996
130.0999999999999996
140.0999999999999996
150.100000000000001
160.100000000000001
170.100000000000001
180.127614237491540
190.127614237491540
200.127614237491540
210.133333333333333
220.141421356237309
230.141421356237309
240.141421356237309
250.141421356237309
260.141421356237309
270.141421356237309
280.141421356237309
290.141421356237309
300.141421356237310
310.141421356237311
320.173205080756887
330.173205080756888
340.173205080756888
350.173205080756888
360.173205080756888
370.173205080756888
380.176417624662798
390.176417624662798
400.176417624662798
410.194690563282420
420.199999999999999
430.217400800258807
440.217400800258808
450.219116617372088
460.223606797749978
470.223606797749979
480.223606797749979
490.244948974278318
500.248405939253434
510.254635487766569
520.263976867019707
530.278529214547384
540.288077763410060
550.315659652396973
560.326605272182482
570.326977374784334
580.332453454251626
590.354818815858864
600.363046511788329
610.374165738677394
620.379540543061143
630.382994405953897
640.394268763265940
650.396016545891963
660.415907430465771
670.438085054483745
680.460456873739012
690.546674404290905
700.550239515055306
710.628572419255866
720.635412214679748
730.726260767215855
740.779993368702597
750.854453468157661
760.87484683558431
770.923396149891225
780.98556538400447
791.03431871418516
801.17238255285986
811.25474656459832
821.40345345570141
831.7668865186355
842.12768330614537
852.13199034557594
862.15214791559146
872.36581549877109
883.39319205845965
893.40626682896523
904.33396571218394
915.99901872293479
926.67516617077824
9310.8196613035559
9419.6302211144172
9550.7311243898895

\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.0999999999999996 \tabularnewline
6 & 0.0999999999999996 \tabularnewline
7 & 0.0999999999999996 \tabularnewline
8 & 0.0999999999999996 \tabularnewline
9 & 0.0999999999999996 \tabularnewline
10 & 0.0999999999999996 \tabularnewline
11 & 0.0999999999999996 \tabularnewline
12 & 0.0999999999999996 \tabularnewline
13 & 0.0999999999999996 \tabularnewline
14 & 0.0999999999999996 \tabularnewline
15 & 0.100000000000001 \tabularnewline
16 & 0.100000000000001 \tabularnewline
17 & 0.100000000000001 \tabularnewline
18 & 0.127614237491540 \tabularnewline
19 & 0.127614237491540 \tabularnewline
20 & 0.127614237491540 \tabularnewline
21 & 0.133333333333333 \tabularnewline
22 & 0.141421356237309 \tabularnewline
23 & 0.141421356237309 \tabularnewline
24 & 0.141421356237309 \tabularnewline
25 & 0.141421356237309 \tabularnewline
26 & 0.141421356237309 \tabularnewline
27 & 0.141421356237309 \tabularnewline
28 & 0.141421356237309 \tabularnewline
29 & 0.141421356237309 \tabularnewline
30 & 0.141421356237310 \tabularnewline
31 & 0.141421356237311 \tabularnewline
32 & 0.173205080756887 \tabularnewline
33 & 0.173205080756888 \tabularnewline
34 & 0.173205080756888 \tabularnewline
35 & 0.173205080756888 \tabularnewline
36 & 0.173205080756888 \tabularnewline
37 & 0.173205080756888 \tabularnewline
38 & 0.176417624662798 \tabularnewline
39 & 0.176417624662798 \tabularnewline
40 & 0.176417624662798 \tabularnewline
41 & 0.194690563282420 \tabularnewline
42 & 0.199999999999999 \tabularnewline
43 & 0.217400800258807 \tabularnewline
44 & 0.217400800258808 \tabularnewline
45 & 0.219116617372088 \tabularnewline
46 & 0.223606797749978 \tabularnewline
47 & 0.223606797749979 \tabularnewline
48 & 0.223606797749979 \tabularnewline
49 & 0.244948974278318 \tabularnewline
50 & 0.248405939253434 \tabularnewline
51 & 0.254635487766569 \tabularnewline
52 & 0.263976867019707 \tabularnewline
53 & 0.278529214547384 \tabularnewline
54 & 0.288077763410060 \tabularnewline
55 & 0.315659652396973 \tabularnewline
56 & 0.326605272182482 \tabularnewline
57 & 0.326977374784334 \tabularnewline
58 & 0.332453454251626 \tabularnewline
59 & 0.354818815858864 \tabularnewline
60 & 0.363046511788329 \tabularnewline
61 & 0.374165738677394 \tabularnewline
62 & 0.379540543061143 \tabularnewline
63 & 0.382994405953897 \tabularnewline
64 & 0.394268763265940 \tabularnewline
65 & 0.396016545891963 \tabularnewline
66 & 0.415907430465771 \tabularnewline
67 & 0.438085054483745 \tabularnewline
68 & 0.460456873739012 \tabularnewline
69 & 0.546674404290905 \tabularnewline
70 & 0.550239515055306 \tabularnewline
71 & 0.628572419255866 \tabularnewline
72 & 0.635412214679748 \tabularnewline
73 & 0.726260767215855 \tabularnewline
74 & 0.779993368702597 \tabularnewline
75 & 0.854453468157661 \tabularnewline
76 & 0.87484683558431 \tabularnewline
77 & 0.923396149891225 \tabularnewline
78 & 0.98556538400447 \tabularnewline
79 & 1.03431871418516 \tabularnewline
80 & 1.17238255285986 \tabularnewline
81 & 1.25474656459832 \tabularnewline
82 & 1.40345345570141 \tabularnewline
83 & 1.7668865186355 \tabularnewline
84 & 2.12768330614537 \tabularnewline
85 & 2.13199034557594 \tabularnewline
86 & 2.15214791559146 \tabularnewline
87 & 2.36581549877109 \tabularnewline
88 & 3.39319205845965 \tabularnewline
89 & 3.40626682896523 \tabularnewline
90 & 4.33396571218394 \tabularnewline
91 & 5.99901872293479 \tabularnewline
92 & 6.67516617077824 \tabularnewline
93 & 10.8196613035559 \tabularnewline
94 & 19.6302211144172 \tabularnewline
95 & 50.7311243898895 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=24095&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.0999999999999996[/C][/ROW]
[ROW][C]6[/C][C]0.0999999999999996[/C][/ROW]
[ROW][C]7[/C][C]0.0999999999999996[/C][/ROW]
[ROW][C]8[/C][C]0.0999999999999996[/C][/ROW]
[ROW][C]9[/C][C]0.0999999999999996[/C][/ROW]
[ROW][C]10[/C][C]0.0999999999999996[/C][/ROW]
[ROW][C]11[/C][C]0.0999999999999996[/C][/ROW]
[ROW][C]12[/C][C]0.0999999999999996[/C][/ROW]
[ROW][C]13[/C][C]0.0999999999999996[/C][/ROW]
[ROW][C]14[/C][C]0.0999999999999996[/C][/ROW]
[ROW][C]15[/C][C]0.100000000000001[/C][/ROW]
[ROW][C]16[/C][C]0.100000000000001[/C][/ROW]
[ROW][C]17[/C][C]0.100000000000001[/C][/ROW]
[ROW][C]18[/C][C]0.127614237491540[/C][/ROW]
[ROW][C]19[/C][C]0.127614237491540[/C][/ROW]
[ROW][C]20[/C][C]0.127614237491540[/C][/ROW]
[ROW][C]21[/C][C]0.133333333333333[/C][/ROW]
[ROW][C]22[/C][C]0.141421356237309[/C][/ROW]
[ROW][C]23[/C][C]0.141421356237309[/C][/ROW]
[ROW][C]24[/C][C]0.141421356237309[/C][/ROW]
[ROW][C]25[/C][C]0.141421356237309[/C][/ROW]
[ROW][C]26[/C][C]0.141421356237309[/C][/ROW]
[ROW][C]27[/C][C]0.141421356237309[/C][/ROW]
[ROW][C]28[/C][C]0.141421356237309[/C][/ROW]
[ROW][C]29[/C][C]0.141421356237309[/C][/ROW]
[ROW][C]30[/C][C]0.141421356237310[/C][/ROW]
[ROW][C]31[/C][C]0.141421356237311[/C][/ROW]
[ROW][C]32[/C][C]0.173205080756887[/C][/ROW]
[ROW][C]33[/C][C]0.173205080756888[/C][/ROW]
[ROW][C]34[/C][C]0.173205080756888[/C][/ROW]
[ROW][C]35[/C][C]0.173205080756888[/C][/ROW]
[ROW][C]36[/C][C]0.173205080756888[/C][/ROW]
[ROW][C]37[/C][C]0.173205080756888[/C][/ROW]
[ROW][C]38[/C][C]0.176417624662798[/C][/ROW]
[ROW][C]39[/C][C]0.176417624662798[/C][/ROW]
[ROW][C]40[/C][C]0.176417624662798[/C][/ROW]
[ROW][C]41[/C][C]0.194690563282420[/C][/ROW]
[ROW][C]42[/C][C]0.199999999999999[/C][/ROW]
[ROW][C]43[/C][C]0.217400800258807[/C][/ROW]
[ROW][C]44[/C][C]0.217400800258808[/C][/ROW]
[ROW][C]45[/C][C]0.219116617372088[/C][/ROW]
[ROW][C]46[/C][C]0.223606797749978[/C][/ROW]
[ROW][C]47[/C][C]0.223606797749979[/C][/ROW]
[ROW][C]48[/C][C]0.223606797749979[/C][/ROW]
[ROW][C]49[/C][C]0.244948974278318[/C][/ROW]
[ROW][C]50[/C][C]0.248405939253434[/C][/ROW]
[ROW][C]51[/C][C]0.254635487766569[/C][/ROW]
[ROW][C]52[/C][C]0.263976867019707[/C][/ROW]
[ROW][C]53[/C][C]0.278529214547384[/C][/ROW]
[ROW][C]54[/C][C]0.288077763410060[/C][/ROW]
[ROW][C]55[/C][C]0.315659652396973[/C][/ROW]
[ROW][C]56[/C][C]0.326605272182482[/C][/ROW]
[ROW][C]57[/C][C]0.326977374784334[/C][/ROW]
[ROW][C]58[/C][C]0.332453454251626[/C][/ROW]
[ROW][C]59[/C][C]0.354818815858864[/C][/ROW]
[ROW][C]60[/C][C]0.363046511788329[/C][/ROW]
[ROW][C]61[/C][C]0.374165738677394[/C][/ROW]
[ROW][C]62[/C][C]0.379540543061143[/C][/ROW]
[ROW][C]63[/C][C]0.382994405953897[/C][/ROW]
[ROW][C]64[/C][C]0.394268763265940[/C][/ROW]
[ROW][C]65[/C][C]0.396016545891963[/C][/ROW]
[ROW][C]66[/C][C]0.415907430465771[/C][/ROW]
[ROW][C]67[/C][C]0.438085054483745[/C][/ROW]
[ROW][C]68[/C][C]0.460456873739012[/C][/ROW]
[ROW][C]69[/C][C]0.546674404290905[/C][/ROW]
[ROW][C]70[/C][C]0.550239515055306[/C][/ROW]
[ROW][C]71[/C][C]0.628572419255866[/C][/ROW]
[ROW][C]72[/C][C]0.635412214679748[/C][/ROW]
[ROW][C]73[/C][C]0.726260767215855[/C][/ROW]
[ROW][C]74[/C][C]0.779993368702597[/C][/ROW]
[ROW][C]75[/C][C]0.854453468157661[/C][/ROW]
[ROW][C]76[/C][C]0.87484683558431[/C][/ROW]
[ROW][C]77[/C][C]0.923396149891225[/C][/ROW]
[ROW][C]78[/C][C]0.98556538400447[/C][/ROW]
[ROW][C]79[/C][C]1.03431871418516[/C][/ROW]
[ROW][C]80[/C][C]1.17238255285986[/C][/ROW]
[ROW][C]81[/C][C]1.25474656459832[/C][/ROW]
[ROW][C]82[/C][C]1.40345345570141[/C][/ROW]
[ROW][C]83[/C][C]1.7668865186355[/C][/ROW]
[ROW][C]84[/C][C]2.12768330614537[/C][/ROW]
[ROW][C]85[/C][C]2.13199034557594[/C][/ROW]
[ROW][C]86[/C][C]2.15214791559146[/C][/ROW]
[ROW][C]87[/C][C]2.36581549877109[/C][/ROW]
[ROW][C]88[/C][C]3.39319205845965[/C][/ROW]
[ROW][C]89[/C][C]3.40626682896523[/C][/ROW]
[ROW][C]90[/C][C]4.33396571218394[/C][/ROW]
[ROW][C]91[/C][C]5.99901872293479[/C][/ROW]
[ROW][C]92[/C][C]6.67516617077824[/C][/ROW]
[ROW][C]93[/C][C]10.8196613035559[/C][/ROW]
[ROW][C]94[/C][C]19.6302211144172[/C][/ROW]
[ROW][C]95[/C][C]50.7311243898895[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=24095&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=24095&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.0999999999999996
60.0999999999999996
70.0999999999999996
80.0999999999999996
90.0999999999999996
100.0999999999999996
110.0999999999999996
120.0999999999999996
130.0999999999999996
140.0999999999999996
150.100000000000001
160.100000000000001
170.100000000000001
180.127614237491540
190.127614237491540
200.127614237491540
210.133333333333333
220.141421356237309
230.141421356237309
240.141421356237309
250.141421356237309
260.141421356237309
270.141421356237309
280.141421356237309
290.141421356237309
300.141421356237310
310.141421356237311
320.173205080756887
330.173205080756888
340.173205080756888
350.173205080756888
360.173205080756888
370.173205080756888
380.176417624662798
390.176417624662798
400.176417624662798
410.194690563282420
420.199999999999999
430.217400800258807
440.217400800258808
450.219116617372088
460.223606797749978
470.223606797749979
480.223606797749979
490.244948974278318
500.248405939253434
510.254635487766569
520.263976867019707
530.278529214547384
540.288077763410060
550.315659652396973
560.326605272182482
570.326977374784334
580.332453454251626
590.354818815858864
600.363046511788329
610.374165738677394
620.379540543061143
630.382994405953897
640.394268763265940
650.396016545891963
660.415907430465771
670.438085054483745
680.460456873739012
690.546674404290905
700.550239515055306
710.628572419255866
720.635412214679748
730.726260767215855
740.779993368702597
750.854453468157661
760.87484683558431
770.923396149891225
780.98556538400447
791.03431871418516
801.17238255285986
811.25474656459832
821.40345345570141
831.7668865186355
842.12768330614537
852.13199034557594
862.15214791559146
872.36581549877109
883.39319205845965
893.40626682896523
904.33396571218394
915.99901872293479
926.67516617077824
9310.8196613035559
9419.6302211144172
9550.7311243898895



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