Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_histogram.wasp
Title produced by softwareHistogram
Date of computationMon, 13 Feb 2017 22:01:31 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2017/Feb/13/t1487023357b4x2lzq20qrj0d0.htm/, Retrieved Fri, 10 May 2024 17:15:55 +0200
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=, Retrieved Fri, 10 May 2024 17:15:55 +0200
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact0
Dataseries X:
101.68
101.25
101.24
101.11
101.08
101.09
101.09
101.62
101.66
101.96
102.04
102.02
102.02
101.51
101.62
101.83
102.06
102.14
102.14
102.59
102.92
103.31
103.54
103.58
103.58
102.83
102.86
103.03
103.2
103.28
103.28
103.79
103.92
104.26
104.41
104.45
99.92
99.18
99.18
99.35
99.62
99.67
99.72
100.08
100.39
100.77
101.03
101.07
101.29
101.1
101.2
101.15
101.24
101.16
100.81
101.02
101.15
101.06
101.17
101.22
101.84
101.79
101.88
101.9
101.91
101.96
101.26
101.06
100.98
101.12
101.24
101.25




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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 time0 seconds
R Server'Sir Maurice George Kendall' @ kendall.wessa.net







Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[99.1,99.2[99.1520.0277780.0277780.277778
[99.2,99.3[99.25000.0277780
[99.3,99.4[99.3510.0138890.0416670.138889
[99.4,99.5[99.45000.0416670
[99.5,99.6[99.55000.0416670
[99.6,99.7[99.6520.0277780.0694440.277778
[99.7,99.8[99.7510.0138890.0833330.138889
[99.8,99.9[99.85000.0833330
[99.9,100[99.9510.0138890.0972220.138889
[100,100.1[100.0510.0138890.1111110.138889
[100.1,100.2[100.15000.1111110
[100.2,100.3[100.25000.1111110
[100.3,100.4[100.3510.0138890.1250.138889
[100.4,100.5[100.45000.1250
[100.5,100.6[100.55000.1250
[100.6,100.7[100.65000.1250
[100.7,100.8[100.7510.0138890.1388890.138889
[100.8,100.9[100.8510.0138890.1527780.138889
[100.9,101[100.9510.0138890.1666670.138889
[101,101.1[101.0580.1111110.2777781.111111
[101.1,101.2[101.1570.0972220.3750.972222
[101.2,101.3[101.2590.1250.51.25
[101.3,101.4[101.35000.50
[101.4,101.5[101.45000.50
[101.5,101.6[101.5510.0138890.5138890.138889
[101.6,101.7[101.6540.0555560.5694440.555556
[101.7,101.8[101.7510.0138890.5833330.138889
[101.8,101.9[101.8530.0416670.6250.416667
[101.9,102[101.9540.0555560.6805560.555556
[102,102.1[102.0540.0555560.7361110.555556
[102.1,102.2[102.1520.0277780.7638890.277778
[102.2,102.3[102.25000.7638890
[102.3,102.4[102.35000.7638890
[102.4,102.5[102.45000.7638890
[102.5,102.6[102.5510.0138890.7777780.138889
[102.6,102.7[102.65000.7777780
[102.7,102.8[102.75000.7777780
[102.8,102.9[102.8520.0277780.8055560.277778
[102.9,103[102.9510.0138890.8194440.138889
[103,103.1[103.0510.0138890.8333330.138889
[103.1,103.2[103.15000.8333330
[103.2,103.3[103.2530.0416670.8750.416667
[103.3,103.4[103.3510.0138890.8888890.138889
[103.4,103.5[103.45000.8888890
[103.5,103.6[103.5530.0416670.9305560.416667
[103.6,103.7[103.65000.9305560
[103.7,103.8[103.7510.0138890.9444440.138889
[103.8,103.9[103.85000.9444440
[103.9,104[103.9510.0138890.9583330.138889
[104,104.1[104.05000.9583330
[104.1,104.2[104.15000.9583330
[104.2,104.3[104.2510.0138890.9722220.138889
[104.3,104.4[104.35000.9722220
[104.4,104.5]104.4520.02777810.277778

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[99.1,99.2[ & 99.15 & 2 & 0.027778 & 0.027778 & 0.277778 \tabularnewline
[99.2,99.3[ & 99.25 & 0 & 0 & 0.027778 & 0 \tabularnewline
[99.3,99.4[ & 99.35 & 1 & 0.013889 & 0.041667 & 0.138889 \tabularnewline
[99.4,99.5[ & 99.45 & 0 & 0 & 0.041667 & 0 \tabularnewline
[99.5,99.6[ & 99.55 & 0 & 0 & 0.041667 & 0 \tabularnewline
[99.6,99.7[ & 99.65 & 2 & 0.027778 & 0.069444 & 0.277778 \tabularnewline
[99.7,99.8[ & 99.75 & 1 & 0.013889 & 0.083333 & 0.138889 \tabularnewline
[99.8,99.9[ & 99.85 & 0 & 0 & 0.083333 & 0 \tabularnewline
[99.9,100[ & 99.95 & 1 & 0.013889 & 0.097222 & 0.138889 \tabularnewline
[100,100.1[ & 100.05 & 1 & 0.013889 & 0.111111 & 0.138889 \tabularnewline
[100.1,100.2[ & 100.15 & 0 & 0 & 0.111111 & 0 \tabularnewline
[100.2,100.3[ & 100.25 & 0 & 0 & 0.111111 & 0 \tabularnewline
[100.3,100.4[ & 100.35 & 1 & 0.013889 & 0.125 & 0.138889 \tabularnewline
[100.4,100.5[ & 100.45 & 0 & 0 & 0.125 & 0 \tabularnewline
[100.5,100.6[ & 100.55 & 0 & 0 & 0.125 & 0 \tabularnewline
[100.6,100.7[ & 100.65 & 0 & 0 & 0.125 & 0 \tabularnewline
[100.7,100.8[ & 100.75 & 1 & 0.013889 & 0.138889 & 0.138889 \tabularnewline
[100.8,100.9[ & 100.85 & 1 & 0.013889 & 0.152778 & 0.138889 \tabularnewline
[100.9,101[ & 100.95 & 1 & 0.013889 & 0.166667 & 0.138889 \tabularnewline
[101,101.1[ & 101.05 & 8 & 0.111111 & 0.277778 & 1.111111 \tabularnewline
[101.1,101.2[ & 101.15 & 7 & 0.097222 & 0.375 & 0.972222 \tabularnewline
[101.2,101.3[ & 101.25 & 9 & 0.125 & 0.5 & 1.25 \tabularnewline
[101.3,101.4[ & 101.35 & 0 & 0 & 0.5 & 0 \tabularnewline
[101.4,101.5[ & 101.45 & 0 & 0 & 0.5 & 0 \tabularnewline
[101.5,101.6[ & 101.55 & 1 & 0.013889 & 0.513889 & 0.138889 \tabularnewline
[101.6,101.7[ & 101.65 & 4 & 0.055556 & 0.569444 & 0.555556 \tabularnewline
[101.7,101.8[ & 101.75 & 1 & 0.013889 & 0.583333 & 0.138889 \tabularnewline
[101.8,101.9[ & 101.85 & 3 & 0.041667 & 0.625 & 0.416667 \tabularnewline
[101.9,102[ & 101.95 & 4 & 0.055556 & 0.680556 & 0.555556 \tabularnewline
[102,102.1[ & 102.05 & 4 & 0.055556 & 0.736111 & 0.555556 \tabularnewline
[102.1,102.2[ & 102.15 & 2 & 0.027778 & 0.763889 & 0.277778 \tabularnewline
[102.2,102.3[ & 102.25 & 0 & 0 & 0.763889 & 0 \tabularnewline
[102.3,102.4[ & 102.35 & 0 & 0 & 0.763889 & 0 \tabularnewline
[102.4,102.5[ & 102.45 & 0 & 0 & 0.763889 & 0 \tabularnewline
[102.5,102.6[ & 102.55 & 1 & 0.013889 & 0.777778 & 0.138889 \tabularnewline
[102.6,102.7[ & 102.65 & 0 & 0 & 0.777778 & 0 \tabularnewline
[102.7,102.8[ & 102.75 & 0 & 0 & 0.777778 & 0 \tabularnewline
[102.8,102.9[ & 102.85 & 2 & 0.027778 & 0.805556 & 0.277778 \tabularnewline
[102.9,103[ & 102.95 & 1 & 0.013889 & 0.819444 & 0.138889 \tabularnewline
[103,103.1[ & 103.05 & 1 & 0.013889 & 0.833333 & 0.138889 \tabularnewline
[103.1,103.2[ & 103.15 & 0 & 0 & 0.833333 & 0 \tabularnewline
[103.2,103.3[ & 103.25 & 3 & 0.041667 & 0.875 & 0.416667 \tabularnewline
[103.3,103.4[ & 103.35 & 1 & 0.013889 & 0.888889 & 0.138889 \tabularnewline
[103.4,103.5[ & 103.45 & 0 & 0 & 0.888889 & 0 \tabularnewline
[103.5,103.6[ & 103.55 & 3 & 0.041667 & 0.930556 & 0.416667 \tabularnewline
[103.6,103.7[ & 103.65 & 0 & 0 & 0.930556 & 0 \tabularnewline
[103.7,103.8[ & 103.75 & 1 & 0.013889 & 0.944444 & 0.138889 \tabularnewline
[103.8,103.9[ & 103.85 & 0 & 0 & 0.944444 & 0 \tabularnewline
[103.9,104[ & 103.95 & 1 & 0.013889 & 0.958333 & 0.138889 \tabularnewline
[104,104.1[ & 104.05 & 0 & 0 & 0.958333 & 0 \tabularnewline
[104.1,104.2[ & 104.15 & 0 & 0 & 0.958333 & 0 \tabularnewline
[104.2,104.3[ & 104.25 & 1 & 0.013889 & 0.972222 & 0.138889 \tabularnewline
[104.3,104.4[ & 104.35 & 0 & 0 & 0.972222 & 0 \tabularnewline
[104.4,104.5] & 104.45 & 2 & 0.027778 & 1 & 0.277778 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&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][99.1,99.2[[/C][C]99.15[/C][C]2[/C][C]0.027778[/C][C]0.027778[/C][C]0.277778[/C][/ROW]
[ROW][C][99.2,99.3[[/C][C]99.25[/C][C]0[/C][C]0[/C][C]0.027778[/C][C]0[/C][/ROW]
[ROW][C][99.3,99.4[[/C][C]99.35[/C][C]1[/C][C]0.013889[/C][C]0.041667[/C][C]0.138889[/C][/ROW]
[ROW][C][99.4,99.5[[/C][C]99.45[/C][C]0[/C][C]0[/C][C]0.041667[/C][C]0[/C][/ROW]
[ROW][C][99.5,99.6[[/C][C]99.55[/C][C]0[/C][C]0[/C][C]0.041667[/C][C]0[/C][/ROW]
[ROW][C][99.6,99.7[[/C][C]99.65[/C][C]2[/C][C]0.027778[/C][C]0.069444[/C][C]0.277778[/C][/ROW]
[ROW][C][99.7,99.8[[/C][C]99.75[/C][C]1[/C][C]0.013889[/C][C]0.083333[/C][C]0.138889[/C][/ROW]
[ROW][C][99.8,99.9[[/C][C]99.85[/C][C]0[/C][C]0[/C][C]0.083333[/C][C]0[/C][/ROW]
[ROW][C][99.9,100[[/C][C]99.95[/C][C]1[/C][C]0.013889[/C][C]0.097222[/C][C]0.138889[/C][/ROW]
[ROW][C][100,100.1[[/C][C]100.05[/C][C]1[/C][C]0.013889[/C][C]0.111111[/C][C]0.138889[/C][/ROW]
[ROW][C][100.1,100.2[[/C][C]100.15[/C][C]0[/C][C]0[/C][C]0.111111[/C][C]0[/C][/ROW]
[ROW][C][100.2,100.3[[/C][C]100.25[/C][C]0[/C][C]0[/C][C]0.111111[/C][C]0[/C][/ROW]
[ROW][C][100.3,100.4[[/C][C]100.35[/C][C]1[/C][C]0.013889[/C][C]0.125[/C][C]0.138889[/C][/ROW]
[ROW][C][100.4,100.5[[/C][C]100.45[/C][C]0[/C][C]0[/C][C]0.125[/C][C]0[/C][/ROW]
[ROW][C][100.5,100.6[[/C][C]100.55[/C][C]0[/C][C]0[/C][C]0.125[/C][C]0[/C][/ROW]
[ROW][C][100.6,100.7[[/C][C]100.65[/C][C]0[/C][C]0[/C][C]0.125[/C][C]0[/C][/ROW]
[ROW][C][100.7,100.8[[/C][C]100.75[/C][C]1[/C][C]0.013889[/C][C]0.138889[/C][C]0.138889[/C][/ROW]
[ROW][C][100.8,100.9[[/C][C]100.85[/C][C]1[/C][C]0.013889[/C][C]0.152778[/C][C]0.138889[/C][/ROW]
[ROW][C][100.9,101[[/C][C]100.95[/C][C]1[/C][C]0.013889[/C][C]0.166667[/C][C]0.138889[/C][/ROW]
[ROW][C][101,101.1[[/C][C]101.05[/C][C]8[/C][C]0.111111[/C][C]0.277778[/C][C]1.111111[/C][/ROW]
[ROW][C][101.1,101.2[[/C][C]101.15[/C][C]7[/C][C]0.097222[/C][C]0.375[/C][C]0.972222[/C][/ROW]
[ROW][C][101.2,101.3[[/C][C]101.25[/C][C]9[/C][C]0.125[/C][C]0.5[/C][C]1.25[/C][/ROW]
[ROW][C][101.3,101.4[[/C][C]101.35[/C][C]0[/C][C]0[/C][C]0.5[/C][C]0[/C][/ROW]
[ROW][C][101.4,101.5[[/C][C]101.45[/C][C]0[/C][C]0[/C][C]0.5[/C][C]0[/C][/ROW]
[ROW][C][101.5,101.6[[/C][C]101.55[/C][C]1[/C][C]0.013889[/C][C]0.513889[/C][C]0.138889[/C][/ROW]
[ROW][C][101.6,101.7[[/C][C]101.65[/C][C]4[/C][C]0.055556[/C][C]0.569444[/C][C]0.555556[/C][/ROW]
[ROW][C][101.7,101.8[[/C][C]101.75[/C][C]1[/C][C]0.013889[/C][C]0.583333[/C][C]0.138889[/C][/ROW]
[ROW][C][101.8,101.9[[/C][C]101.85[/C][C]3[/C][C]0.041667[/C][C]0.625[/C][C]0.416667[/C][/ROW]
[ROW][C][101.9,102[[/C][C]101.95[/C][C]4[/C][C]0.055556[/C][C]0.680556[/C][C]0.555556[/C][/ROW]
[ROW][C][102,102.1[[/C][C]102.05[/C][C]4[/C][C]0.055556[/C][C]0.736111[/C][C]0.555556[/C][/ROW]
[ROW][C][102.1,102.2[[/C][C]102.15[/C][C]2[/C][C]0.027778[/C][C]0.763889[/C][C]0.277778[/C][/ROW]
[ROW][C][102.2,102.3[[/C][C]102.25[/C][C]0[/C][C]0[/C][C]0.763889[/C][C]0[/C][/ROW]
[ROW][C][102.3,102.4[[/C][C]102.35[/C][C]0[/C][C]0[/C][C]0.763889[/C][C]0[/C][/ROW]
[ROW][C][102.4,102.5[[/C][C]102.45[/C][C]0[/C][C]0[/C][C]0.763889[/C][C]0[/C][/ROW]
[ROW][C][102.5,102.6[[/C][C]102.55[/C][C]1[/C][C]0.013889[/C][C]0.777778[/C][C]0.138889[/C][/ROW]
[ROW][C][102.6,102.7[[/C][C]102.65[/C][C]0[/C][C]0[/C][C]0.777778[/C][C]0[/C][/ROW]
[ROW][C][102.7,102.8[[/C][C]102.75[/C][C]0[/C][C]0[/C][C]0.777778[/C][C]0[/C][/ROW]
[ROW][C][102.8,102.9[[/C][C]102.85[/C][C]2[/C][C]0.027778[/C][C]0.805556[/C][C]0.277778[/C][/ROW]
[ROW][C][102.9,103[[/C][C]102.95[/C][C]1[/C][C]0.013889[/C][C]0.819444[/C][C]0.138889[/C][/ROW]
[ROW][C][103,103.1[[/C][C]103.05[/C][C]1[/C][C]0.013889[/C][C]0.833333[/C][C]0.138889[/C][/ROW]
[ROW][C][103.1,103.2[[/C][C]103.15[/C][C]0[/C][C]0[/C][C]0.833333[/C][C]0[/C][/ROW]
[ROW][C][103.2,103.3[[/C][C]103.25[/C][C]3[/C][C]0.041667[/C][C]0.875[/C][C]0.416667[/C][/ROW]
[ROW][C][103.3,103.4[[/C][C]103.35[/C][C]1[/C][C]0.013889[/C][C]0.888889[/C][C]0.138889[/C][/ROW]
[ROW][C][103.4,103.5[[/C][C]103.45[/C][C]0[/C][C]0[/C][C]0.888889[/C][C]0[/C][/ROW]
[ROW][C][103.5,103.6[[/C][C]103.55[/C][C]3[/C][C]0.041667[/C][C]0.930556[/C][C]0.416667[/C][/ROW]
[ROW][C][103.6,103.7[[/C][C]103.65[/C][C]0[/C][C]0[/C][C]0.930556[/C][C]0[/C][/ROW]
[ROW][C][103.7,103.8[[/C][C]103.75[/C][C]1[/C][C]0.013889[/C][C]0.944444[/C][C]0.138889[/C][/ROW]
[ROW][C][103.8,103.9[[/C][C]103.85[/C][C]0[/C][C]0[/C][C]0.944444[/C][C]0[/C][/ROW]
[ROW][C][103.9,104[[/C][C]103.95[/C][C]1[/C][C]0.013889[/C][C]0.958333[/C][C]0.138889[/C][/ROW]
[ROW][C][104,104.1[[/C][C]104.05[/C][C]0[/C][C]0[/C][C]0.958333[/C][C]0[/C][/ROW]
[ROW][C][104.1,104.2[[/C][C]104.15[/C][C]0[/C][C]0[/C][C]0.958333[/C][C]0[/C][/ROW]
[ROW][C][104.2,104.3[[/C][C]104.25[/C][C]1[/C][C]0.013889[/C][C]0.972222[/C][C]0.138889[/C][/ROW]
[ROW][C][104.3,104.4[[/C][C]104.35[/C][C]0[/C][C]0[/C][C]0.972222[/C][C]0[/C][/ROW]
[ROW][C][104.4,104.5][/C][C]104.45[/C][C]2[/C][C]0.027778[/C][C]1[/C][C]0.277778[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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
[99.1,99.2[99.1520.0277780.0277780.277778
[99.2,99.3[99.25000.0277780
[99.3,99.4[99.3510.0138890.0416670.138889
[99.4,99.5[99.45000.0416670
[99.5,99.6[99.55000.0416670
[99.6,99.7[99.6520.0277780.0694440.277778
[99.7,99.8[99.7510.0138890.0833330.138889
[99.8,99.9[99.85000.0833330
[99.9,100[99.9510.0138890.0972220.138889
[100,100.1[100.0510.0138890.1111110.138889
[100.1,100.2[100.15000.1111110
[100.2,100.3[100.25000.1111110
[100.3,100.4[100.3510.0138890.1250.138889
[100.4,100.5[100.45000.1250
[100.5,100.6[100.55000.1250
[100.6,100.7[100.65000.1250
[100.7,100.8[100.7510.0138890.1388890.138889
[100.8,100.9[100.8510.0138890.1527780.138889
[100.9,101[100.9510.0138890.1666670.138889
[101,101.1[101.0580.1111110.2777781.111111
[101.1,101.2[101.1570.0972220.3750.972222
[101.2,101.3[101.2590.1250.51.25
[101.3,101.4[101.35000.50
[101.4,101.5[101.45000.50
[101.5,101.6[101.5510.0138890.5138890.138889
[101.6,101.7[101.6540.0555560.5694440.555556
[101.7,101.8[101.7510.0138890.5833330.138889
[101.8,101.9[101.8530.0416670.6250.416667
[101.9,102[101.9540.0555560.6805560.555556
[102,102.1[102.0540.0555560.7361110.555556
[102.1,102.2[102.1520.0277780.7638890.277778
[102.2,102.3[102.25000.7638890
[102.3,102.4[102.35000.7638890
[102.4,102.5[102.45000.7638890
[102.5,102.6[102.5510.0138890.7777780.138889
[102.6,102.7[102.65000.7777780
[102.7,102.8[102.75000.7777780
[102.8,102.9[102.8520.0277780.8055560.277778
[102.9,103[102.9510.0138890.8194440.138889
[103,103.1[103.0510.0138890.8333330.138889
[103.1,103.2[103.15000.8333330
[103.2,103.3[103.2530.0416670.8750.416667
[103.3,103.4[103.3510.0138890.8888890.138889
[103.4,103.5[103.45000.8888890
[103.5,103.6[103.5530.0416670.9305560.416667
[103.6,103.7[103.65000.9305560
[103.7,103.8[103.7510.0138890.9444440.138889
[103.8,103.9[103.85000.9444440
[103.9,104[103.9510.0138890.9583330.138889
[104,104.1[104.05000.9583330
[104.1,104.2[104.15000.9583330
[104.2,104.3[104.2510.0138890.9722220.138889
[104.3,104.4[104.35000.9722220
[104.4,104.5]104.4520.02777810.277778



Parameters (Session):
par1 = 45 ; par2 = grey ; par3 = FALSE ; par4 = Unknown ;
Parameters (R input):
par1 = 45 ; par2 = grey ; par3 = FALSE ; par4 = Unknown ;
R code (references can be found in the software module):
par4 <- 'Unknown'
par3 <- 'FALSE'
par2 <- 'grey'
par1 <- '2'
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 {
barplot(mytab <- sort(table(x),T),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')
}