Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_hierarchicalclusteringdm.wasp
Title produced by softwareHierarchical Clustering
Date of computationMon, 23 Apr 2012 05:10:47 -0400
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Apr/23/t1335172320vn27lbfd45205gt.htm/, Retrieved Fri, 03 May 2024 15:35:46 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=164658, Retrieved Fri, 03 May 2024 15:35:46 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact142
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Notched Boxplots] [] [2012-04-23 09:07:19] [272f2f17453c7186d6073ebf31ee4b1c]
- RMP     [Hierarchical Clustering] [] [2012-04-23 09:10:47] [722cc7f94b3c1568a723b3c5e98a2726] [Current]
Feedback Forum

Post a new message




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

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







Summary of Dendrogram
LabelHeight
55.3019900184433
56.2444841740059
58.2264364356947
58.887459615779
59.3046937434129
61.3662692364462
62.2134559400135
64.9595381756983
66.205246770932
66.7563772234533
67.0883812593507
73.5566400809607
76.3600818490918
78.2331796618289
78.3178632241713
79.7057344235658
80.0242669444713
80.4903602923977
81.839659090199
85.8805169989096
86.0657754278668
91.8133791993302
92.8292157674511
93.503455016379
97.1187865451376
99.390689704821
99.6583393399669
104.109834796433
105.683094853977
107.921149919745
109.104219582654
109.591847780754
109.678507010262
109.763437971714
112.835030907959
116.225653794676
116.868019577642
118.262485175985
121.476229633671
126.060842849792
129.144181988441
129.674954405236
130.793442496174
132.49883961756
137.927884312836
144.268923888688
144.793415941472
145.175568891087
146.446565452197
148.456427212821
149.730029385736
151.139018456519
151.623836516558
154.984908620162
155.265535132559
157.616605976488
161.399160635804
168.021369474243
172.53211945814
173.596034616187
174.438545131129
177.832240608951
178.702421081227
194.311734591609
195.811272800715
196.30374880599
210.533178468212
224.747883943546
232.870735495689
236.865836709307
241.24020389771
254.639628320474
262.996706491126
277.508207329898
287.58176315615
296.292767517326
300.334203434034
301.20351027738
302.684305506579
307.177100220703
312.909271229008
313.430648473529
313.982859170573
345.501816679241
365.735041869594
372.025093220147
380.686484593997
382.421160058899
386.079683196637
387.921135854621
399.664356385784
399.719441888024
427.051737970431
445.564352607759
451.616075582577
457.694075247125
467.842010498085
474.632771835237
503.480848657313
519.097042442672
546.433089432306
546.945946966489
650.482095214179
668.421953690995
700.085238709095
755.934946672
758.510588090953
824.968412759244
825.082539147477
860.512671566631
929.283177835023
949.938977887584
1127.74108958901
1135.95020409907
1181.96678560119
1304.53614194304
1312.419818416
1442.74690373088
1635.00439397031
1975.76720096144
2065.01823884302
2484.45645844845
2653.56559116901
2734.69460002577
2876.86491783341
3100.97986253735
3277.71447199869
4363.74242083292
4752.95871764767
5450.26011714787
7930.53707143944
8388.17973538731
10128.5207414636
11855.4987082793
14744.0978162223
18305.488431239
25586.9950004707
30126.0217876115
42827.0174557286
67472.9036714528
110927.391539267

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
 & 55.3019900184433 \tabularnewline
 & 56.2444841740059 \tabularnewline
 & 58.2264364356947 \tabularnewline
 & 58.887459615779 \tabularnewline
 & 59.3046937434129 \tabularnewline
 & 61.3662692364462 \tabularnewline
 & 62.2134559400135 \tabularnewline
 & 64.9595381756983 \tabularnewline
 & 66.205246770932 \tabularnewline
 & 66.7563772234533 \tabularnewline
 & 67.0883812593507 \tabularnewline
 & 73.5566400809607 \tabularnewline
 & 76.3600818490918 \tabularnewline
 & 78.2331796618289 \tabularnewline
 & 78.3178632241713 \tabularnewline
 & 79.7057344235658 \tabularnewline
 & 80.0242669444713 \tabularnewline
 & 80.4903602923977 \tabularnewline
 & 81.839659090199 \tabularnewline
 & 85.8805169989096 \tabularnewline
 & 86.0657754278668 \tabularnewline
 & 91.8133791993302 \tabularnewline
 & 92.8292157674511 \tabularnewline
 & 93.503455016379 \tabularnewline
 & 97.1187865451376 \tabularnewline
 & 99.390689704821 \tabularnewline
 & 99.6583393399669 \tabularnewline
 & 104.109834796433 \tabularnewline
 & 105.683094853977 \tabularnewline
 & 107.921149919745 \tabularnewline
 & 109.104219582654 \tabularnewline
 & 109.591847780754 \tabularnewline
 & 109.678507010262 \tabularnewline
 & 109.763437971714 \tabularnewline
 & 112.835030907959 \tabularnewline
 & 116.225653794676 \tabularnewline
 & 116.868019577642 \tabularnewline
 & 118.262485175985 \tabularnewline
 & 121.476229633671 \tabularnewline
 & 126.060842849792 \tabularnewline
 & 129.144181988441 \tabularnewline
 & 129.674954405236 \tabularnewline
 & 130.793442496174 \tabularnewline
 & 132.49883961756 \tabularnewline
 & 137.927884312836 \tabularnewline
 & 144.268923888688 \tabularnewline
 & 144.793415941472 \tabularnewline
 & 145.175568891087 \tabularnewline
 & 146.446565452197 \tabularnewline
 & 148.456427212821 \tabularnewline
 & 149.730029385736 \tabularnewline
 & 151.139018456519 \tabularnewline
 & 151.623836516558 \tabularnewline
 & 154.984908620162 \tabularnewline
 & 155.265535132559 \tabularnewline
 & 157.616605976488 \tabularnewline
 & 161.399160635804 \tabularnewline
 & 168.021369474243 \tabularnewline
 & 172.53211945814 \tabularnewline
 & 173.596034616187 \tabularnewline
 & 174.438545131129 \tabularnewline
 & 177.832240608951 \tabularnewline
 & 178.702421081227 \tabularnewline
 & 194.311734591609 \tabularnewline
 & 195.811272800715 \tabularnewline
 & 196.30374880599 \tabularnewline
 & 210.533178468212 \tabularnewline
 & 224.747883943546 \tabularnewline
 & 232.870735495689 \tabularnewline
 & 236.865836709307 \tabularnewline
 & 241.24020389771 \tabularnewline
 & 254.639628320474 \tabularnewline
 & 262.996706491126 \tabularnewline
 & 277.508207329898 \tabularnewline
 & 287.58176315615 \tabularnewline
 & 296.292767517326 \tabularnewline
 & 300.334203434034 \tabularnewline
 & 301.20351027738 \tabularnewline
 & 302.684305506579 \tabularnewline
 & 307.177100220703 \tabularnewline
 & 312.909271229008 \tabularnewline
 & 313.430648473529 \tabularnewline
 & 313.982859170573 \tabularnewline
 & 345.501816679241 \tabularnewline
 & 365.735041869594 \tabularnewline
 & 372.025093220147 \tabularnewline
 & 380.686484593997 \tabularnewline
 & 382.421160058899 \tabularnewline
 & 386.079683196637 \tabularnewline
 & 387.921135854621 \tabularnewline
 & 399.664356385784 \tabularnewline
 & 399.719441888024 \tabularnewline
 & 427.051737970431 \tabularnewline
 & 445.564352607759 \tabularnewline
 & 451.616075582577 \tabularnewline
 & 457.694075247125 \tabularnewline
 & 467.842010498085 \tabularnewline
 & 474.632771835237 \tabularnewline
 & 503.480848657313 \tabularnewline
 & 519.097042442672 \tabularnewline
 & 546.433089432306 \tabularnewline
 & 546.945946966489 \tabularnewline
 & 650.482095214179 \tabularnewline
 & 668.421953690995 \tabularnewline
 & 700.085238709095 \tabularnewline
 & 755.934946672 \tabularnewline
 & 758.510588090953 \tabularnewline
 & 824.968412759244 \tabularnewline
 & 825.082539147477 \tabularnewline
 & 860.512671566631 \tabularnewline
 & 929.283177835023 \tabularnewline
 & 949.938977887584 \tabularnewline
 & 1127.74108958901 \tabularnewline
 & 1135.95020409907 \tabularnewline
 & 1181.96678560119 \tabularnewline
 & 1304.53614194304 \tabularnewline
 & 1312.419818416 \tabularnewline
 & 1442.74690373088 \tabularnewline
 & 1635.00439397031 \tabularnewline
 & 1975.76720096144 \tabularnewline
 & 2065.01823884302 \tabularnewline
 & 2484.45645844845 \tabularnewline
 & 2653.56559116901 \tabularnewline
 & 2734.69460002577 \tabularnewline
 & 2876.86491783341 \tabularnewline
 & 3100.97986253735 \tabularnewline
 & 3277.71447199869 \tabularnewline
 & 4363.74242083292 \tabularnewline
 & 4752.95871764767 \tabularnewline
 & 5450.26011714787 \tabularnewline
 & 7930.53707143944 \tabularnewline
 & 8388.17973538731 \tabularnewline
 & 10128.5207414636 \tabularnewline
 & 11855.4987082793 \tabularnewline
 & 14744.0978162223 \tabularnewline
 & 18305.488431239 \tabularnewline
 & 25586.9950004707 \tabularnewline
 & 30126.0217876115 \tabularnewline
 & 42827.0174557286 \tabularnewline
 & 67472.9036714528 \tabularnewline
 & 110927.391539267 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=164658&T=1

[TABLE]
[ROW][C]Summary of Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C][/C][C]55.3019900184433[/C][/ROW]
[ROW][C][/C][C]56.2444841740059[/C][/ROW]
[ROW][C][/C][C]58.2264364356947[/C][/ROW]
[ROW][C][/C][C]58.887459615779[/C][/ROW]
[ROW][C][/C][C]59.3046937434129[/C][/ROW]
[ROW][C][/C][C]61.3662692364462[/C][/ROW]
[ROW][C][/C][C]62.2134559400135[/C][/ROW]
[ROW][C][/C][C]64.9595381756983[/C][/ROW]
[ROW][C][/C][C]66.205246770932[/C][/ROW]
[ROW][C][/C][C]66.7563772234533[/C][/ROW]
[ROW][C][/C][C]67.0883812593507[/C][/ROW]
[ROW][C][/C][C]73.5566400809607[/C][/ROW]
[ROW][C][/C][C]76.3600818490918[/C][/ROW]
[ROW][C][/C][C]78.2331796618289[/C][/ROW]
[ROW][C][/C][C]78.3178632241713[/C][/ROW]
[ROW][C][/C][C]79.7057344235658[/C][/ROW]
[ROW][C][/C][C]80.0242669444713[/C][/ROW]
[ROW][C][/C][C]80.4903602923977[/C][/ROW]
[ROW][C][/C][C]81.839659090199[/C][/ROW]
[ROW][C][/C][C]85.8805169989096[/C][/ROW]
[ROW][C][/C][C]86.0657754278668[/C][/ROW]
[ROW][C][/C][C]91.8133791993302[/C][/ROW]
[ROW][C][/C][C]92.8292157674511[/C][/ROW]
[ROW][C][/C][C]93.503455016379[/C][/ROW]
[ROW][C][/C][C]97.1187865451376[/C][/ROW]
[ROW][C][/C][C]99.390689704821[/C][/ROW]
[ROW][C][/C][C]99.6583393399669[/C][/ROW]
[ROW][C][/C][C]104.109834796433[/C][/ROW]
[ROW][C][/C][C]105.683094853977[/C][/ROW]
[ROW][C][/C][C]107.921149919745[/C][/ROW]
[ROW][C][/C][C]109.104219582654[/C][/ROW]
[ROW][C][/C][C]109.591847780754[/C][/ROW]
[ROW][C][/C][C]109.678507010262[/C][/ROW]
[ROW][C][/C][C]109.763437971714[/C][/ROW]
[ROW][C][/C][C]112.835030907959[/C][/ROW]
[ROW][C][/C][C]116.225653794676[/C][/ROW]
[ROW][C][/C][C]116.868019577642[/C][/ROW]
[ROW][C][/C][C]118.262485175985[/C][/ROW]
[ROW][C][/C][C]121.476229633671[/C][/ROW]
[ROW][C][/C][C]126.060842849792[/C][/ROW]
[ROW][C][/C][C]129.144181988441[/C][/ROW]
[ROW][C][/C][C]129.674954405236[/C][/ROW]
[ROW][C][/C][C]130.793442496174[/C][/ROW]
[ROW][C][/C][C]132.49883961756[/C][/ROW]
[ROW][C][/C][C]137.927884312836[/C][/ROW]
[ROW][C][/C][C]144.268923888688[/C][/ROW]
[ROW][C][/C][C]144.793415941472[/C][/ROW]
[ROW][C][/C][C]145.175568891087[/C][/ROW]
[ROW][C][/C][C]146.446565452197[/C][/ROW]
[ROW][C][/C][C]148.456427212821[/C][/ROW]
[ROW][C][/C][C]149.730029385736[/C][/ROW]
[ROW][C][/C][C]151.139018456519[/C][/ROW]
[ROW][C][/C][C]151.623836516558[/C][/ROW]
[ROW][C][/C][C]154.984908620162[/C][/ROW]
[ROW][C][/C][C]155.265535132559[/C][/ROW]
[ROW][C][/C][C]157.616605976488[/C][/ROW]
[ROW][C][/C][C]161.399160635804[/C][/ROW]
[ROW][C][/C][C]168.021369474243[/C][/ROW]
[ROW][C][/C][C]172.53211945814[/C][/ROW]
[ROW][C][/C][C]173.596034616187[/C][/ROW]
[ROW][C][/C][C]174.438545131129[/C][/ROW]
[ROW][C][/C][C]177.832240608951[/C][/ROW]
[ROW][C][/C][C]178.702421081227[/C][/ROW]
[ROW][C][/C][C]194.311734591609[/C][/ROW]
[ROW][C][/C][C]195.811272800715[/C][/ROW]
[ROW][C][/C][C]196.30374880599[/C][/ROW]
[ROW][C][/C][C]210.533178468212[/C][/ROW]
[ROW][C][/C][C]224.747883943546[/C][/ROW]
[ROW][C][/C][C]232.870735495689[/C][/ROW]
[ROW][C][/C][C]236.865836709307[/C][/ROW]
[ROW][C][/C][C]241.24020389771[/C][/ROW]
[ROW][C][/C][C]254.639628320474[/C][/ROW]
[ROW][C][/C][C]262.996706491126[/C][/ROW]
[ROW][C][/C][C]277.508207329898[/C][/ROW]
[ROW][C][/C][C]287.58176315615[/C][/ROW]
[ROW][C][/C][C]296.292767517326[/C][/ROW]
[ROW][C][/C][C]300.334203434034[/C][/ROW]
[ROW][C][/C][C]301.20351027738[/C][/ROW]
[ROW][C][/C][C]302.684305506579[/C][/ROW]
[ROW][C][/C][C]307.177100220703[/C][/ROW]
[ROW][C][/C][C]312.909271229008[/C][/ROW]
[ROW][C][/C][C]313.430648473529[/C][/ROW]
[ROW][C][/C][C]313.982859170573[/C][/ROW]
[ROW][C][/C][C]345.501816679241[/C][/ROW]
[ROW][C][/C][C]365.735041869594[/C][/ROW]
[ROW][C][/C][C]372.025093220147[/C][/ROW]
[ROW][C][/C][C]380.686484593997[/C][/ROW]
[ROW][C][/C][C]382.421160058899[/C][/ROW]
[ROW][C][/C][C]386.079683196637[/C][/ROW]
[ROW][C][/C][C]387.921135854621[/C][/ROW]
[ROW][C][/C][C]399.664356385784[/C][/ROW]
[ROW][C][/C][C]399.719441888024[/C][/ROW]
[ROW][C][/C][C]427.051737970431[/C][/ROW]
[ROW][C][/C][C]445.564352607759[/C][/ROW]
[ROW][C][/C][C]451.616075582577[/C][/ROW]
[ROW][C][/C][C]457.694075247125[/C][/ROW]
[ROW][C][/C][C]467.842010498085[/C][/ROW]
[ROW][C][/C][C]474.632771835237[/C][/ROW]
[ROW][C][/C][C]503.480848657313[/C][/ROW]
[ROW][C][/C][C]519.097042442672[/C][/ROW]
[ROW][C][/C][C]546.433089432306[/C][/ROW]
[ROW][C][/C][C]546.945946966489[/C][/ROW]
[ROW][C][/C][C]650.482095214179[/C][/ROW]
[ROW][C][/C][C]668.421953690995[/C][/ROW]
[ROW][C][/C][C]700.085238709095[/C][/ROW]
[ROW][C][/C][C]755.934946672[/C][/ROW]
[ROW][C][/C][C]758.510588090953[/C][/ROW]
[ROW][C][/C][C]824.968412759244[/C][/ROW]
[ROW][C][/C][C]825.082539147477[/C][/ROW]
[ROW][C][/C][C]860.512671566631[/C][/ROW]
[ROW][C][/C][C]929.283177835023[/C][/ROW]
[ROW][C][/C][C]949.938977887584[/C][/ROW]
[ROW][C][/C][C]1127.74108958901[/C][/ROW]
[ROW][C][/C][C]1135.95020409907[/C][/ROW]
[ROW][C][/C][C]1181.96678560119[/C][/ROW]
[ROW][C][/C][C]1304.53614194304[/C][/ROW]
[ROW][C][/C][C]1312.419818416[/C][/ROW]
[ROW][C][/C][C]1442.74690373088[/C][/ROW]
[ROW][C][/C][C]1635.00439397031[/C][/ROW]
[ROW][C][/C][C]1975.76720096144[/C][/ROW]
[ROW][C][/C][C]2065.01823884302[/C][/ROW]
[ROW][C][/C][C]2484.45645844845[/C][/ROW]
[ROW][C][/C][C]2653.56559116901[/C][/ROW]
[ROW][C][/C][C]2734.69460002577[/C][/ROW]
[ROW][C][/C][C]2876.86491783341[/C][/ROW]
[ROW][C][/C][C]3100.97986253735[/C][/ROW]
[ROW][C][/C][C]3277.71447199869[/C][/ROW]
[ROW][C][/C][C]4363.74242083292[/C][/ROW]
[ROW][C][/C][C]4752.95871764767[/C][/ROW]
[ROW][C][/C][C]5450.26011714787[/C][/ROW]
[ROW][C][/C][C]7930.53707143944[/C][/ROW]
[ROW][C][/C][C]8388.17973538731[/C][/ROW]
[ROW][C][/C][C]10128.5207414636[/C][/ROW]
[ROW][C][/C][C]11855.4987082793[/C][/ROW]
[ROW][C][/C][C]14744.0978162223[/C][/ROW]
[ROW][C][/C][C]18305.488431239[/C][/ROW]
[ROW][C][/C][C]25586.9950004707[/C][/ROW]
[ROW][C][/C][C]30126.0217876115[/C][/ROW]
[ROW][C][/C][C]42827.0174557286[/C][/ROW]
[ROW][C][/C][C]67472.9036714528[/C][/ROW]
[ROW][C][/C][C]110927.391539267[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=164658&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=164658&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
55.3019900184433
56.2444841740059
58.2264364356947
58.887459615779
59.3046937434129
61.3662692364462
62.2134559400135
64.9595381756983
66.205246770932
66.7563772234533
67.0883812593507
73.5566400809607
76.3600818490918
78.2331796618289
78.3178632241713
79.7057344235658
80.0242669444713
80.4903602923977
81.839659090199
85.8805169989096
86.0657754278668
91.8133791993302
92.8292157674511
93.503455016379
97.1187865451376
99.390689704821
99.6583393399669
104.109834796433
105.683094853977
107.921149919745
109.104219582654
109.591847780754
109.678507010262
109.763437971714
112.835030907959
116.225653794676
116.868019577642
118.262485175985
121.476229633671
126.060842849792
129.144181988441
129.674954405236
130.793442496174
132.49883961756
137.927884312836
144.268923888688
144.793415941472
145.175568891087
146.446565452197
148.456427212821
149.730029385736
151.139018456519
151.623836516558
154.984908620162
155.265535132559
157.616605976488
161.399160635804
168.021369474243
172.53211945814
173.596034616187
174.438545131129
177.832240608951
178.702421081227
194.311734591609
195.811272800715
196.30374880599
210.533178468212
224.747883943546
232.870735495689
236.865836709307
241.24020389771
254.639628320474
262.996706491126
277.508207329898
287.58176315615
296.292767517326
300.334203434034
301.20351027738
302.684305506579
307.177100220703
312.909271229008
313.430648473529
313.982859170573
345.501816679241
365.735041869594
372.025093220147
380.686484593997
382.421160058899
386.079683196637
387.921135854621
399.664356385784
399.719441888024
427.051737970431
445.564352607759
451.616075582577
457.694075247125
467.842010498085
474.632771835237
503.480848657313
519.097042442672
546.433089432306
546.945946966489
650.482095214179
668.421953690995
700.085238709095
755.934946672
758.510588090953
824.968412759244
825.082539147477
860.512671566631
929.283177835023
949.938977887584
1127.74108958901
1135.95020409907
1181.96678560119
1304.53614194304
1312.419818416
1442.74690373088
1635.00439397031
1975.76720096144
2065.01823884302
2484.45645844845
2653.56559116901
2734.69460002577
2876.86491783341
3100.97986253735
3277.71447199869
4363.74242083292
4752.95871764767
5450.26011714787
7930.53707143944
8388.17973538731
10128.5207414636
11855.4987082793
14744.0978162223
18305.488431239
25586.9950004707
30126.0217876115
42827.0174557286
67472.9036714528
110927.391539267



Parameters (Session):
par1 = ward ; par2 = ALL ; par3 = FALSE ; par4 = FALSE ; par5 = male ; par6 = bachelor ; par7 = all ; par8 = Learning Activities ; par9 = cases ;
Parameters (R input):
par1 = ward ; par2 = ALL ; par3 = FALSE ; par4 = FALSE ; par5 = male ; par6 = bachelor ; par7 = all ; par8 = Learning Activities ; par9 = cases ;
R code (references can be found in the software module):
x <- as.data.frame(read.table(file='https://automated.biganalytics.eu/download/utaut.csv',sep=',',header=T))
x$U25 <- 6-x$U25
if(par5 == 'female') x <- x[x$Gender==0,]
if(par5 == 'male') x <- x[x$Gender==1,]
if(par6 == 'prep') x <- x[x$Pop==1,]
if(par6 == 'bachelor') x <- x[x$Pop==0,]
if(par7 != 'all') {
x <- x[x$Year==as.numeric(par7),]
}
cAc <- with(x,cbind( A1, A2, A3, A4, A5, A6, A7, A8, A9,A10))
cAs <- with(x,cbind(A11,A12,A13,A14,A15,A16,A17,A18,A19,A20))
cA <- cbind(cAc,cAs)
cCa <- with(x,cbind(C1,C3,C5,C7, C9,C11,C13,C15,C17,C19,C21,C23,C25,C27,C29,C31,C33,C35,C37,C39,C41,C43,C45,C47))
cCp <- with(x,cbind(C2,C4,C6,C8,C10,C12,C14,C16,C18,C20,C22,C24,C26,C28,C30,C32,C34,C36,C38,C40,C42,C44,C46,C48))
cC <- cbind(cCa,cCp)
cU <- with(x,cbind(U1,U2,U3,U4,U5,U6,U7,U8,U9,U10,U11,U12,U13,U14,U15,U16,U17,U18,U19,U20,U21,U22,U23,U24,U25,U26,U27,U28,U29,U30,U31,U32,U33))
cE <- with(x,cbind(BC,NNZFG,MRT,AFL,LPM,LPC,W,WPA))
cX <- with(x,cbind(X1,X2,X3,X4,X5,X6,X7,X8,X9,X10,X11,X12,X13,X14,X15,X16,X17,X18))
if (par8=='ATTLES connected') x <- cAc
if (par8=='ATTLES separate') x <- cAs
if (par8=='ATTLES all') x <- cA
if (par8=='COLLES actuals') x <- cCa
if (par8=='COLLES preferred') x <- cCp
if (par8=='COLLES all') x <- cC
if (par8=='CSUQ') x <- cU
if (par8=='Learning Activities') x <- cE
if (par8=='Exam Items') x <- cX
ncol <- length(x[1,])
for (jjj in 1:ncol) {
x <- x[!is.na(x[,jjj]),]
}
par3 <- as.logical(par3)
par4 <- as.logical(par4)
if (par3 == TRUE){
dum = xlab
xlab = ylab
ylab = dum
}
if (par9=='variables') {
x <- t(x)
} else {
ncol <- length(x[1,])
colnames(x) <- 1:ncol
}
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')
}