Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_histogram.wasp
Title produced by softwareHistogram
Date of computationSat, 03 Aug 2013 09:24:28 -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/2013/Aug/03/t1375536291ejp56f0v0sw1xjh.htm/, Retrieved Mon, 29 Apr 2024 08:43:23 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=210909, Retrieved Mon, 29 Apr 2024 08:43:23 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact163
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Histogram] [TIJDREEKS A - STAP 5] [2013-08-03 13:24:28] [a14baeeafb42bd31c8e1f231a0a4996d] [Current]
Feedback Forum

Post a new message
Dataseries X:
545688
544740
543702
541794
561369
560421
545688
535914
536862
536862
537807
539808
544740
538848
544740
539808
555474
562407
532968
525075
531915
530967
525075
526035
537807
535914
537807
537807
550635
552528
517194
517194
530967
524127
512355
517194
528981
523089
522141
509409
528021
531915
493635
492687
512355
501528
482901
490794
499527
501528
495636
483861
508368
508368
465234
462303
474075
452514
430848
437796
452514
440730
432849
416130
438741
439689
396570
395517
403410
378903
352395
363129
377850
362184
361236
345462
371010
375957
327798
317064
323904
297396
269943
278784
295410
275838
278784
267012
291516
294450
235572
231663
242397
213999
188451
197292
218850
193386
191397
171732
193386
200226
139344
139344
148173
124626
98118
111891
136398
109893
120732
105999
129558
137439
74559
69720
79506
55947
37332
45120




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

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







Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[30000,40000[3500010.0083330.0083331e-06
[40000,50000[4500010.0083330.0166671e-06
[50000,60000[5500010.0083330.0251e-06
[60000,70000[6500010.0083330.0333331e-06
[70000,80000[7500020.0166670.052e-06
[80000,90000[85000000.050
[90000,1e+05[9500010.0083330.0583331e-06
[1e+05,110000[10500020.0166670.0752e-06
[110000,120000[11500010.0083330.0833331e-06
[120000,130000[12500030.0250.1083332e-06
[130000,140000[13500040.0333330.1416673e-06
[140000,150000[14500010.0083330.151e-06
[150000,160000[155000000.150
[160000,170000[165000000.150
[170000,180000[17500010.0083330.1583331e-06
[180000,190000[18500010.0083330.1666671e-06
[190000,2e+05[19500040.0333330.23e-06
[2e+05,210000[20500010.0083330.2083331e-06
[210000,220000[21500020.0166670.2252e-06
[220000,230000[225000000.2250
[230000,240000[23500020.0166670.2416672e-06
[240000,250000[24500010.0083330.251e-06
[250000,260000[255000000.250
[260000,270000[26500020.0166670.2666672e-06
[270000,280000[27500030.0250.2916672e-06
[280000,290000[285000000.2916670
[290000,3e+05[29500040.0333330.3253e-06
[3e+05,310000[305000000.3250
[310000,320000[31500010.0083330.3333331e-06
[320000,330000[32500020.0166670.352e-06
[330000,340000[335000000.350
[340000,350000[34500010.0083330.3583331e-06
[350000,360000[35500010.0083330.3666671e-06
[360000,370000[36500030.0250.3916672e-06
[370000,380000[37500040.0333330.4253e-06
[380000,390000[385000000.4250
[390000,4e+05[39500020.0166670.4416672e-06
[4e+05,410000[40500010.0083330.451e-06
[410000,420000[41500010.0083330.4583331e-06
[420000,430000[425000000.4583330
[430000,440000[43500050.0416670.54e-06
[440000,450000[44500010.0083330.5083331e-06
[450000,460000[45500020.0166670.5252e-06
[460000,470000[46500020.0166670.5416672e-06
[470000,480000[47500010.0083330.551e-06
[480000,490000[48500020.0166670.5666672e-06
[490000,5e+05[49500050.0416670.6083334e-06
[5e+05,510000[50500050.0416670.654e-06
[510000,520000[51500050.0416670.6916674e-06
[520000,530000[52500080.0666670.7583337e-06
[530000,540000[535000160.1333330.8916671.3e-05
[540000,550000[54500070.0583330.956e-06
[550000,560000[55500030.0250.9752e-06
[560000,570000]56500030.02512e-06

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[30000,40000[ & 35000 & 1 & 0.008333 & 0.008333 & 1e-06 \tabularnewline
[40000,50000[ & 45000 & 1 & 0.008333 & 0.016667 & 1e-06 \tabularnewline
[50000,60000[ & 55000 & 1 & 0.008333 & 0.025 & 1e-06 \tabularnewline
[60000,70000[ & 65000 & 1 & 0.008333 & 0.033333 & 1e-06 \tabularnewline
[70000,80000[ & 75000 & 2 & 0.016667 & 0.05 & 2e-06 \tabularnewline
[80000,90000[ & 85000 & 0 & 0 & 0.05 & 0 \tabularnewline
[90000,1e+05[ & 95000 & 1 & 0.008333 & 0.058333 & 1e-06 \tabularnewline
[1e+05,110000[ & 105000 & 2 & 0.016667 & 0.075 & 2e-06 \tabularnewline
[110000,120000[ & 115000 & 1 & 0.008333 & 0.083333 & 1e-06 \tabularnewline
[120000,130000[ & 125000 & 3 & 0.025 & 0.108333 & 2e-06 \tabularnewline
[130000,140000[ & 135000 & 4 & 0.033333 & 0.141667 & 3e-06 \tabularnewline
[140000,150000[ & 145000 & 1 & 0.008333 & 0.15 & 1e-06 \tabularnewline
[150000,160000[ & 155000 & 0 & 0 & 0.15 & 0 \tabularnewline
[160000,170000[ & 165000 & 0 & 0 & 0.15 & 0 \tabularnewline
[170000,180000[ & 175000 & 1 & 0.008333 & 0.158333 & 1e-06 \tabularnewline
[180000,190000[ & 185000 & 1 & 0.008333 & 0.166667 & 1e-06 \tabularnewline
[190000,2e+05[ & 195000 & 4 & 0.033333 & 0.2 & 3e-06 \tabularnewline
[2e+05,210000[ & 205000 & 1 & 0.008333 & 0.208333 & 1e-06 \tabularnewline
[210000,220000[ & 215000 & 2 & 0.016667 & 0.225 & 2e-06 \tabularnewline
[220000,230000[ & 225000 & 0 & 0 & 0.225 & 0 \tabularnewline
[230000,240000[ & 235000 & 2 & 0.016667 & 0.241667 & 2e-06 \tabularnewline
[240000,250000[ & 245000 & 1 & 0.008333 & 0.25 & 1e-06 \tabularnewline
[250000,260000[ & 255000 & 0 & 0 & 0.25 & 0 \tabularnewline
[260000,270000[ & 265000 & 2 & 0.016667 & 0.266667 & 2e-06 \tabularnewline
[270000,280000[ & 275000 & 3 & 0.025 & 0.291667 & 2e-06 \tabularnewline
[280000,290000[ & 285000 & 0 & 0 & 0.291667 & 0 \tabularnewline
[290000,3e+05[ & 295000 & 4 & 0.033333 & 0.325 & 3e-06 \tabularnewline
[3e+05,310000[ & 305000 & 0 & 0 & 0.325 & 0 \tabularnewline
[310000,320000[ & 315000 & 1 & 0.008333 & 0.333333 & 1e-06 \tabularnewline
[320000,330000[ & 325000 & 2 & 0.016667 & 0.35 & 2e-06 \tabularnewline
[330000,340000[ & 335000 & 0 & 0 & 0.35 & 0 \tabularnewline
[340000,350000[ & 345000 & 1 & 0.008333 & 0.358333 & 1e-06 \tabularnewline
[350000,360000[ & 355000 & 1 & 0.008333 & 0.366667 & 1e-06 \tabularnewline
[360000,370000[ & 365000 & 3 & 0.025 & 0.391667 & 2e-06 \tabularnewline
[370000,380000[ & 375000 & 4 & 0.033333 & 0.425 & 3e-06 \tabularnewline
[380000,390000[ & 385000 & 0 & 0 & 0.425 & 0 \tabularnewline
[390000,4e+05[ & 395000 & 2 & 0.016667 & 0.441667 & 2e-06 \tabularnewline
[4e+05,410000[ & 405000 & 1 & 0.008333 & 0.45 & 1e-06 \tabularnewline
[410000,420000[ & 415000 & 1 & 0.008333 & 0.458333 & 1e-06 \tabularnewline
[420000,430000[ & 425000 & 0 & 0 & 0.458333 & 0 \tabularnewline
[430000,440000[ & 435000 & 5 & 0.041667 & 0.5 & 4e-06 \tabularnewline
[440000,450000[ & 445000 & 1 & 0.008333 & 0.508333 & 1e-06 \tabularnewline
[450000,460000[ & 455000 & 2 & 0.016667 & 0.525 & 2e-06 \tabularnewline
[460000,470000[ & 465000 & 2 & 0.016667 & 0.541667 & 2e-06 \tabularnewline
[470000,480000[ & 475000 & 1 & 0.008333 & 0.55 & 1e-06 \tabularnewline
[480000,490000[ & 485000 & 2 & 0.016667 & 0.566667 & 2e-06 \tabularnewline
[490000,5e+05[ & 495000 & 5 & 0.041667 & 0.608333 & 4e-06 \tabularnewline
[5e+05,510000[ & 505000 & 5 & 0.041667 & 0.65 & 4e-06 \tabularnewline
[510000,520000[ & 515000 & 5 & 0.041667 & 0.691667 & 4e-06 \tabularnewline
[520000,530000[ & 525000 & 8 & 0.066667 & 0.758333 & 7e-06 \tabularnewline
[530000,540000[ & 535000 & 16 & 0.133333 & 0.891667 & 1.3e-05 \tabularnewline
[540000,550000[ & 545000 & 7 & 0.058333 & 0.95 & 6e-06 \tabularnewline
[550000,560000[ & 555000 & 3 & 0.025 & 0.975 & 2e-06 \tabularnewline
[560000,570000] & 565000 & 3 & 0.025 & 1 & 2e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=210909&T=1

[TABLE]
[ROW][C]Frequency Table (Histogram)[/C][/ROW]
[ROW][C]Bins[/C][C]Midpoint[/C][C]Abs. Frequency[/C][C]Rel. Frequency[/C][C]Cumul. Rel. Freq.[/C][C]Density[/C][/ROW]
[ROW][C][30000,40000[[/C][C]35000[/C][C]1[/C][C]0.008333[/C][C]0.008333[/C][C]1e-06[/C][/ROW]
[ROW][C][40000,50000[[/C][C]45000[/C][C]1[/C][C]0.008333[/C][C]0.016667[/C][C]1e-06[/C][/ROW]
[ROW][C][50000,60000[[/C][C]55000[/C][C]1[/C][C]0.008333[/C][C]0.025[/C][C]1e-06[/C][/ROW]
[ROW][C][60000,70000[[/C][C]65000[/C][C]1[/C][C]0.008333[/C][C]0.033333[/C][C]1e-06[/C][/ROW]
[ROW][C][70000,80000[[/C][C]75000[/C][C]2[/C][C]0.016667[/C][C]0.05[/C][C]2e-06[/C][/ROW]
[ROW][C][80000,90000[[/C][C]85000[/C][C]0[/C][C]0[/C][C]0.05[/C][C]0[/C][/ROW]
[ROW][C][90000,1e+05[[/C][C]95000[/C][C]1[/C][C]0.008333[/C][C]0.058333[/C][C]1e-06[/C][/ROW]
[ROW][C][1e+05,110000[[/C][C]105000[/C][C]2[/C][C]0.016667[/C][C]0.075[/C][C]2e-06[/C][/ROW]
[ROW][C][110000,120000[[/C][C]115000[/C][C]1[/C][C]0.008333[/C][C]0.083333[/C][C]1e-06[/C][/ROW]
[ROW][C][120000,130000[[/C][C]125000[/C][C]3[/C][C]0.025[/C][C]0.108333[/C][C]2e-06[/C][/ROW]
[ROW][C][130000,140000[[/C][C]135000[/C][C]4[/C][C]0.033333[/C][C]0.141667[/C][C]3e-06[/C][/ROW]
[ROW][C][140000,150000[[/C][C]145000[/C][C]1[/C][C]0.008333[/C][C]0.15[/C][C]1e-06[/C][/ROW]
[ROW][C][150000,160000[[/C][C]155000[/C][C]0[/C][C]0[/C][C]0.15[/C][C]0[/C][/ROW]
[ROW][C][160000,170000[[/C][C]165000[/C][C]0[/C][C]0[/C][C]0.15[/C][C]0[/C][/ROW]
[ROW][C][170000,180000[[/C][C]175000[/C][C]1[/C][C]0.008333[/C][C]0.158333[/C][C]1e-06[/C][/ROW]
[ROW][C][180000,190000[[/C][C]185000[/C][C]1[/C][C]0.008333[/C][C]0.166667[/C][C]1e-06[/C][/ROW]
[ROW][C][190000,2e+05[[/C][C]195000[/C][C]4[/C][C]0.033333[/C][C]0.2[/C][C]3e-06[/C][/ROW]
[ROW][C][2e+05,210000[[/C][C]205000[/C][C]1[/C][C]0.008333[/C][C]0.208333[/C][C]1e-06[/C][/ROW]
[ROW][C][210000,220000[[/C][C]215000[/C][C]2[/C][C]0.016667[/C][C]0.225[/C][C]2e-06[/C][/ROW]
[ROW][C][220000,230000[[/C][C]225000[/C][C]0[/C][C]0[/C][C]0.225[/C][C]0[/C][/ROW]
[ROW][C][230000,240000[[/C][C]235000[/C][C]2[/C][C]0.016667[/C][C]0.241667[/C][C]2e-06[/C][/ROW]
[ROW][C][240000,250000[[/C][C]245000[/C][C]1[/C][C]0.008333[/C][C]0.25[/C][C]1e-06[/C][/ROW]
[ROW][C][250000,260000[[/C][C]255000[/C][C]0[/C][C]0[/C][C]0.25[/C][C]0[/C][/ROW]
[ROW][C][260000,270000[[/C][C]265000[/C][C]2[/C][C]0.016667[/C][C]0.266667[/C][C]2e-06[/C][/ROW]
[ROW][C][270000,280000[[/C][C]275000[/C][C]3[/C][C]0.025[/C][C]0.291667[/C][C]2e-06[/C][/ROW]
[ROW][C][280000,290000[[/C][C]285000[/C][C]0[/C][C]0[/C][C]0.291667[/C][C]0[/C][/ROW]
[ROW][C][290000,3e+05[[/C][C]295000[/C][C]4[/C][C]0.033333[/C][C]0.325[/C][C]3e-06[/C][/ROW]
[ROW][C][3e+05,310000[[/C][C]305000[/C][C]0[/C][C]0[/C][C]0.325[/C][C]0[/C][/ROW]
[ROW][C][310000,320000[[/C][C]315000[/C][C]1[/C][C]0.008333[/C][C]0.333333[/C][C]1e-06[/C][/ROW]
[ROW][C][320000,330000[[/C][C]325000[/C][C]2[/C][C]0.016667[/C][C]0.35[/C][C]2e-06[/C][/ROW]
[ROW][C][330000,340000[[/C][C]335000[/C][C]0[/C][C]0[/C][C]0.35[/C][C]0[/C][/ROW]
[ROW][C][340000,350000[[/C][C]345000[/C][C]1[/C][C]0.008333[/C][C]0.358333[/C][C]1e-06[/C][/ROW]
[ROW][C][350000,360000[[/C][C]355000[/C][C]1[/C][C]0.008333[/C][C]0.366667[/C][C]1e-06[/C][/ROW]
[ROW][C][360000,370000[[/C][C]365000[/C][C]3[/C][C]0.025[/C][C]0.391667[/C][C]2e-06[/C][/ROW]
[ROW][C][370000,380000[[/C][C]375000[/C][C]4[/C][C]0.033333[/C][C]0.425[/C][C]3e-06[/C][/ROW]
[ROW][C][380000,390000[[/C][C]385000[/C][C]0[/C][C]0[/C][C]0.425[/C][C]0[/C][/ROW]
[ROW][C][390000,4e+05[[/C][C]395000[/C][C]2[/C][C]0.016667[/C][C]0.441667[/C][C]2e-06[/C][/ROW]
[ROW][C][4e+05,410000[[/C][C]405000[/C][C]1[/C][C]0.008333[/C][C]0.45[/C][C]1e-06[/C][/ROW]
[ROW][C][410000,420000[[/C][C]415000[/C][C]1[/C][C]0.008333[/C][C]0.458333[/C][C]1e-06[/C][/ROW]
[ROW][C][420000,430000[[/C][C]425000[/C][C]0[/C][C]0[/C][C]0.458333[/C][C]0[/C][/ROW]
[ROW][C][430000,440000[[/C][C]435000[/C][C]5[/C][C]0.041667[/C][C]0.5[/C][C]4e-06[/C][/ROW]
[ROW][C][440000,450000[[/C][C]445000[/C][C]1[/C][C]0.008333[/C][C]0.508333[/C][C]1e-06[/C][/ROW]
[ROW][C][450000,460000[[/C][C]455000[/C][C]2[/C][C]0.016667[/C][C]0.525[/C][C]2e-06[/C][/ROW]
[ROW][C][460000,470000[[/C][C]465000[/C][C]2[/C][C]0.016667[/C][C]0.541667[/C][C]2e-06[/C][/ROW]
[ROW][C][470000,480000[[/C][C]475000[/C][C]1[/C][C]0.008333[/C][C]0.55[/C][C]1e-06[/C][/ROW]
[ROW][C][480000,490000[[/C][C]485000[/C][C]2[/C][C]0.016667[/C][C]0.566667[/C][C]2e-06[/C][/ROW]
[ROW][C][490000,5e+05[[/C][C]495000[/C][C]5[/C][C]0.041667[/C][C]0.608333[/C][C]4e-06[/C][/ROW]
[ROW][C][5e+05,510000[[/C][C]505000[/C][C]5[/C][C]0.041667[/C][C]0.65[/C][C]4e-06[/C][/ROW]
[ROW][C][510000,520000[[/C][C]515000[/C][C]5[/C][C]0.041667[/C][C]0.691667[/C][C]4e-06[/C][/ROW]
[ROW][C][520000,530000[[/C][C]525000[/C][C]8[/C][C]0.066667[/C][C]0.758333[/C][C]7e-06[/C][/ROW]
[ROW][C][530000,540000[[/C][C]535000[/C][C]16[/C][C]0.133333[/C][C]0.891667[/C][C]1.3e-05[/C][/ROW]
[ROW][C][540000,550000[[/C][C]545000[/C][C]7[/C][C]0.058333[/C][C]0.95[/C][C]6e-06[/C][/ROW]
[ROW][C][550000,560000[[/C][C]555000[/C][C]3[/C][C]0.025[/C][C]0.975[/C][C]2e-06[/C][/ROW]
[ROW][C][560000,570000][/C][C]565000[/C][C]3[/C][C]0.025[/C][C]1[/C][C]2e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=210909&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=210909&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[30000,40000[3500010.0083330.0083331e-06
[40000,50000[4500010.0083330.0166671e-06
[50000,60000[5500010.0083330.0251e-06
[60000,70000[6500010.0083330.0333331e-06
[70000,80000[7500020.0166670.052e-06
[80000,90000[85000000.050
[90000,1e+05[9500010.0083330.0583331e-06
[1e+05,110000[10500020.0166670.0752e-06
[110000,120000[11500010.0083330.0833331e-06
[120000,130000[12500030.0250.1083332e-06
[130000,140000[13500040.0333330.1416673e-06
[140000,150000[14500010.0083330.151e-06
[150000,160000[155000000.150
[160000,170000[165000000.150
[170000,180000[17500010.0083330.1583331e-06
[180000,190000[18500010.0083330.1666671e-06
[190000,2e+05[19500040.0333330.23e-06
[2e+05,210000[20500010.0083330.2083331e-06
[210000,220000[21500020.0166670.2252e-06
[220000,230000[225000000.2250
[230000,240000[23500020.0166670.2416672e-06
[240000,250000[24500010.0083330.251e-06
[250000,260000[255000000.250
[260000,270000[26500020.0166670.2666672e-06
[270000,280000[27500030.0250.2916672e-06
[280000,290000[285000000.2916670
[290000,3e+05[29500040.0333330.3253e-06
[3e+05,310000[305000000.3250
[310000,320000[31500010.0083330.3333331e-06
[320000,330000[32500020.0166670.352e-06
[330000,340000[335000000.350
[340000,350000[34500010.0083330.3583331e-06
[350000,360000[35500010.0083330.3666671e-06
[360000,370000[36500030.0250.3916672e-06
[370000,380000[37500040.0333330.4253e-06
[380000,390000[385000000.4250
[390000,4e+05[39500020.0166670.4416672e-06
[4e+05,410000[40500010.0083330.451e-06
[410000,420000[41500010.0083330.4583331e-06
[420000,430000[425000000.4583330
[430000,440000[43500050.0416670.54e-06
[440000,450000[44500010.0083330.5083331e-06
[450000,460000[45500020.0166670.5252e-06
[460000,470000[46500020.0166670.5416672e-06
[470000,480000[47500010.0083330.551e-06
[480000,490000[48500020.0166670.5666672e-06
[490000,5e+05[49500050.0416670.6083334e-06
[5e+05,510000[50500050.0416670.654e-06
[510000,520000[51500050.0416670.6916674e-06
[520000,530000[52500080.0666670.7583337e-06
[530000,540000[535000160.1333330.8916671.3e-05
[540000,550000[54500070.0583330.956e-06
[550000,560000[55500030.0250.9752e-06
[560000,570000]56500030.02512e-06



Parameters (Session):
par1 = 48 ; par2 = grey ; par3 = FALSE ; par4 = Unknown ;
Parameters (R input):
par1 = 48 ; par2 = grey ; par3 = FALSE ; par4 = Unknown ;
R code (references can be found in the software module):
par4 <- 'Unknown'
par3 <- 'FALSE'
par2 <- 'grey'
par1 <- '48'
par1 <- as.numeric(par1)
if (par3 == 'TRUE') par3 <- TRUE
if (par3 == 'FALSE') par3 <- FALSE
if (par4 == 'Unknown') par1 <- as.numeric(par1)
if (par4 == 'Interval/Ratio') par1 <- as.numeric(par1)
if (par4 == '3-point Likert') par1 <- c(1:3 - 0.5, 3.5)
if (par4 == '4-point Likert') par1 <- c(1:4 - 0.5, 4.5)
if (par4 == '5-point Likert') par1 <- c(1:5 - 0.5, 5.5)
if (par4 == '6-point Likert') par1 <- c(1:6 - 0.5, 6.5)
if (par4 == '7-point Likert') par1 <- c(1:7 - 0.5, 7.5)
if (par4 == '8-point Likert') par1 <- c(1:8 - 0.5, 8.5)
if (par4 == '9-point Likert') par1 <- c(1:9 - 0.5, 9.5)
if (par4 == '10-point Likert') par1 <- c(1:10 - 0.5, 10.5)
bitmap(file='test1.png')
if(is.numeric(x[1])) {
if (is.na(par1)) {
myhist<-hist(x,col=par2,main=main,xlab=xlab,right=par3)
} else {
if (par1 < 0) par1 <- 3
if (par1 > 50) par1 <- 50
myhist<-hist(x,breaks=par1,col=par2,main=main,xlab=xlab,right=par3)
}
} else {
plot(mytab <- table(x),col=par2,main='Frequency Plot',xlab=xlab,ylab='Absolute Frequency')
}
dev.off()
if(is.numeric(x[1])) {
myhist
n <- length(x)
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('histogram.htm','Frequency Table (Histogram)',''),6,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Bins',header=TRUE)
a<-table.element(a,'Midpoint',header=TRUE)
a<-table.element(a,'Abs. Frequency',header=TRUE)
a<-table.element(a,'Rel. Frequency',header=TRUE)
a<-table.element(a,'Cumul. Rel. Freq.',header=TRUE)
a<-table.element(a,'Density',header=TRUE)
a<-table.row.end(a)
crf <- 0
if (par3 == FALSE) mybracket <- '[' else mybracket <- ']'
mynumrows <- (length(myhist$breaks)-1)
for (i in 1:mynumrows) {
a<-table.row.start(a)
if (i == 1)
dum <- paste('[',myhist$breaks[i],sep='')
else
dum <- paste(mybracket,myhist$breaks[i],sep='')
dum <- paste(dum,myhist$breaks[i+1],sep=',')
if (i==mynumrows)
dum <- paste(dum,']',sep='')
else
dum <- paste(dum,mybracket,sep='')
a<-table.element(a,dum,header=TRUE)
a<-table.element(a,myhist$mids[i])
a<-table.element(a,myhist$counts[i])
rf <- myhist$counts[i]/n
crf <- crf + rf
a<-table.element(a,round(rf,6))
a<-table.element(a,round(crf,6))
a<-table.element(a,round(myhist$density[i],6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
} else {
mytab
reltab <- mytab / sum(mytab)
n <- length(mytab)
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Frequency Table (Categorical Data)',3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Category',header=TRUE)
a<-table.element(a,'Abs. Frequency',header=TRUE)
a<-table.element(a,'Rel. Frequency',header=TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,labels(mytab)$x[i],header=TRUE)
a<-table.element(a,mytab[i])
a<-table.element(a,round(reltab[i],4))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')
}