Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_histogram.wasp
Title produced by softwareHistogram
Date of computationMon, 10 Dec 2012 10:31:40 -0500
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/Dec/10/t1355153532pfus2g0eestmdd3.htm/, Retrieved Thu, 28 Mar 2024 19:39:48 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=198202, Retrieved Thu, 28 Mar 2024 19:39:48 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact105
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Histogram] [Bad example of Hi...] [2010-09-25 09:28:23] [b98453cac15ba1066b407e146608df68]
F   PD  [Histogram] [Histogram] [2010-10-03 19:30:53] [afe9379cca749d06b3d6872e02cc47ed]
-   PD    [Histogram] [Apple Inc - Histo...] [2010-12-13 18:52:49] [afe9379cca749d06b3d6872e02cc47ed]
- R PD        [Histogram] [RIM - Dollar per ...] [2012-12-10 15:31:40] [14d0a7ecb926325afa0eb6a607fbc7a0] [Current]
- R  D          [Histogram] [] [2012-12-15 12:33:52] [74be16979710d4c4e7c6647856088456]
-    D            [Histogram] [] [2012-12-20 14:52:48] [d1865ed705b6ad9ba3d459a02c528b22]
-    D              [Histogram] [] [2012-12-20 14:57:54] [d1865ed705b6ad9ba3d459a02c528b22]
Feedback Forum

Post a new message
Dataseries X:
11.95
12.01
11.89
11.94
11.555
11.60
11.60
11.54
11.10
10.72
11.98
11.66
10.26
9.705
9.59
9.20
8.79
8.49
8.40
8.81
8.54
8.20
8.24
9.06
8.90
8.71
8.70
7.925
7.57
7.71
7.52
76.216
7.69
7.76
7.84
7.99
7.83
7.80
7.80
7.91
7.76
7.80
8.24
8.22
8.225
8.06
8.27
7.86
7.50
7.14
7.00
6.60
6.305
6.455
69.053
7.21
7.415
7.25
7.56
7.425
7.42
7.46
7.15
7.19
6.715
6.52
6.645
6.69
6.71
6.91
7.02
7.07
6.94
7.065
7.07
7.16
7.35
7.47
7.50
7.52
7.56
8.07
8.29
7.80
7.62
7.31
7.26
6.99
6.95
7.117
7.15
7.23
7.375
6.965
6.81
6.93
6.86
6.775
6.96
6.95
6.92
6.995
7.245
7.42
7.40
7.29
7.67
8.10
7.69
7.35
7.49
7.39
9.13
9.18
8.965
9.105
9.855
10.065
10.33
10.745
10.60
10.89
10.40
10.665
10.61
10.355
10.88
10.72
10.34
9.985
9.66
10.26
10.33
10.351
11.23
11.00
10.71
11.09
11.06
11.50
10.99
11.38
11.02
11.10
11.80
11.80
11.80
11.91
12.01
11.82
12.01
12.04
12.80
13.48
14.30
14.03
14.14
13.65
13.25
13.08
13.34
13.47
13.20
13.41
13.42
12.89
13.345
13.05
12.93
13.02
12.67
12.76
13.01
14.37
14.70
13.73
13.67
13.89
14.04
13.66
13.78
14.04
14.11
14.47
14.38
13.45
13.15
13.49
13.11
13.58
13.195
12.90
13.125
13.32
13.79
13.58
14.165
14.50
14.42
14.72
14.67
14.66
14.88
15.07
15.39
14.80
14.57
14.90
15.44
15.90
16.49
16.71
16.575
16.88
17.21
16.70
16.63
17.02
16.80
16.26
16.30
15.01
15.56
17.00
17.57
17.28
17.47
16.17
16.44
15.61
15.51
15.505
15.34
15.05
15.08
15.51
14.50
14.34
14.25
14.87
13.915
14.00
13.78
12.52
12.89
13.44
15.13
15.08
15.48
16.21
16.46
16.33
16.64
17.03
17.02
16.77
18.58
17.86
17.37
16.48
16.00
16.20
16.87
17.36
18.19
18.65
19.21
19.13
18.29
18.49
17.58
18.05
18.83
18.89
18.97
18.85
18.91
19.30
20.20
21.30
21.28
20.72
22.27
23.49
22.77
22.31
22.31
23.21
22.40
23.97
23.61
23.88
24.41
23.23
23.36
24.42
23.595
21.00
20.50
20.30
21.16
21.898
22.65
21.68
21.32
21.26
21.54
22.73
23.72
23.93
29.54
29.72
30.13
30.17
29.68
31.31
31.90
30.97
30.12
31.85
32.49
32.55
30.73
29.18
28.22
28.57
27.50
26.51
26.69
25.76
26.79
26.93
27.11
24.56
24.18
22.10
23.12
21.87
23.39
23.59
25.33
24.15
24.79
25.00
25.46
25.71
27.39
26.67
27.91
27.92
26.64
26.77
26.68
27.52
27.27
28.15
28.48
28.05
28.98
29.03
27.72
28.92
28.93
28.85
28.78
28.24
28.17
28.57
29.77
28.40
28.55
25.89
27.75
35.33
35.17
35.76
36.20
36.56
37.61
36.73
37.82
38.91
38.98
40.43
40.30
42.85
43.60
43.57
43.14
43.11
43.52
43.52
44.23
45.43
43.78
42.86
43.24
43.79
44.18
45.26
45.01
45.99
47.29
47.37
48.24
48.10
48.65
56.59
55.57
55.20
53.44
53.77
54.46
53.22
54.83
53.40
53.92
54.83
53.72
54.64
54.78
55.13
55.71
54.40
54.79
56.08
56.54
57.03
57.05
55.99
56.89
64.09
62.12
62.41
62.17
60.91
60.85
59.84
61.09
62.35
63.38
62.60
64.80
64.78
64.86
66.47
68.45
65.83
66.40
66.20
65.99
65.79
65.17
67.42
69.86
69.69
68.35
65.30
65.54
66.87
66.88
63.57
63.60
63.20
63.69
62.67
61.11
60.40
59.11
60.15
61.98
62.00
61.40
62.69
61.55
62.40
63.28
65.22
64.77
64.01
63.53
62.89
62.09
61.68
61.37
61.92
59.10
58.94
58.13
58.07
58.17
58.02
58.47
58.65
58.69
58.24
58.48
60.20
59.24
59.18
60.45
60.81
62.15




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

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







Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[6,8[7750.1491050.1491050.074553
[8,10[9290.0576540.2067590.028827
[10,12[11420.0834990.2902580.04175
[12,14[13430.0854870.3757460.042744
[14,16[15410.0815110.4572560.040755
[16,18[17320.0636180.5208750.031809
[18,20[19140.0278330.5487080.013917
[20,22[21140.0278330.5765410.013917
[22,24[23210.041750.618290.020875
[24,26[25120.0238570.6421470.011928
[26,28[27170.0337970.6759440.016899
[28,30[29210.041750.7176940.020875
[30,32[3180.0159050.7335980.007952
[32,34[3320.0039760.7375750.001988
[34,36[3530.0059640.7435390.002982
[36,38[3750.009940.7534790.00497
[38,40[3920.0039760.7574550.001988
[40,42[4120.0039760.7614310.001988
[42,44[43110.0218690.78330.010934
[44,46[4560.0119280.7952290.005964
[46,48[4720.0039760.7992050.001988
[48,50[4930.0059640.8051690.002982
[50,52[51000.8051690
[52,54[5360.0119280.8170970.005964
[54,56[55120.0238570.8409540.011928
[56,58[5760.0119280.8528830.005964
[58,60[59150.0298210.8827040.014911
[60,62[61150.0298210.9125250.014911
[62,64[63190.0377730.9502980.018887
[64,66[65130.0258450.9761430.012922
[66,68[6760.0119280.9880720.005964
[68,70[6950.009940.9980120.00497
[70,72[71000.9980120
[72,74[73000.9980120
[74,76[75000.9980120
[76,78]7710.00198810.000994

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[6,8[ & 7 & 75 & 0.149105 & 0.149105 & 0.074553 \tabularnewline
[8,10[ & 9 & 29 & 0.057654 & 0.206759 & 0.028827 \tabularnewline
[10,12[ & 11 & 42 & 0.083499 & 0.290258 & 0.04175 \tabularnewline
[12,14[ & 13 & 43 & 0.085487 & 0.375746 & 0.042744 \tabularnewline
[14,16[ & 15 & 41 & 0.081511 & 0.457256 & 0.040755 \tabularnewline
[16,18[ & 17 & 32 & 0.063618 & 0.520875 & 0.031809 \tabularnewline
[18,20[ & 19 & 14 & 0.027833 & 0.548708 & 0.013917 \tabularnewline
[20,22[ & 21 & 14 & 0.027833 & 0.576541 & 0.013917 \tabularnewline
[22,24[ & 23 & 21 & 0.04175 & 0.61829 & 0.020875 \tabularnewline
[24,26[ & 25 & 12 & 0.023857 & 0.642147 & 0.011928 \tabularnewline
[26,28[ & 27 & 17 & 0.033797 & 0.675944 & 0.016899 \tabularnewline
[28,30[ & 29 & 21 & 0.04175 & 0.717694 & 0.020875 \tabularnewline
[30,32[ & 31 & 8 & 0.015905 & 0.733598 & 0.007952 \tabularnewline
[32,34[ & 33 & 2 & 0.003976 & 0.737575 & 0.001988 \tabularnewline
[34,36[ & 35 & 3 & 0.005964 & 0.743539 & 0.002982 \tabularnewline
[36,38[ & 37 & 5 & 0.00994 & 0.753479 & 0.00497 \tabularnewline
[38,40[ & 39 & 2 & 0.003976 & 0.757455 & 0.001988 \tabularnewline
[40,42[ & 41 & 2 & 0.003976 & 0.761431 & 0.001988 \tabularnewline
[42,44[ & 43 & 11 & 0.021869 & 0.7833 & 0.010934 \tabularnewline
[44,46[ & 45 & 6 & 0.011928 & 0.795229 & 0.005964 \tabularnewline
[46,48[ & 47 & 2 & 0.003976 & 0.799205 & 0.001988 \tabularnewline
[48,50[ & 49 & 3 & 0.005964 & 0.805169 & 0.002982 \tabularnewline
[50,52[ & 51 & 0 & 0 & 0.805169 & 0 \tabularnewline
[52,54[ & 53 & 6 & 0.011928 & 0.817097 & 0.005964 \tabularnewline
[54,56[ & 55 & 12 & 0.023857 & 0.840954 & 0.011928 \tabularnewline
[56,58[ & 57 & 6 & 0.011928 & 0.852883 & 0.005964 \tabularnewline
[58,60[ & 59 & 15 & 0.029821 & 0.882704 & 0.014911 \tabularnewline
[60,62[ & 61 & 15 & 0.029821 & 0.912525 & 0.014911 \tabularnewline
[62,64[ & 63 & 19 & 0.037773 & 0.950298 & 0.018887 \tabularnewline
[64,66[ & 65 & 13 & 0.025845 & 0.976143 & 0.012922 \tabularnewline
[66,68[ & 67 & 6 & 0.011928 & 0.988072 & 0.005964 \tabularnewline
[68,70[ & 69 & 5 & 0.00994 & 0.998012 & 0.00497 \tabularnewline
[70,72[ & 71 & 0 & 0 & 0.998012 & 0 \tabularnewline
[72,74[ & 73 & 0 & 0 & 0.998012 & 0 \tabularnewline
[74,76[ & 75 & 0 & 0 & 0.998012 & 0 \tabularnewline
[76,78] & 77 & 1 & 0.001988 & 1 & 0.000994 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198202&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][6,8[[/C][C]7[/C][C]75[/C][C]0.149105[/C][C]0.149105[/C][C]0.074553[/C][/ROW]
[ROW][C][8,10[[/C][C]9[/C][C]29[/C][C]0.057654[/C][C]0.206759[/C][C]0.028827[/C][/ROW]
[ROW][C][10,12[[/C][C]11[/C][C]42[/C][C]0.083499[/C][C]0.290258[/C][C]0.04175[/C][/ROW]
[ROW][C][12,14[[/C][C]13[/C][C]43[/C][C]0.085487[/C][C]0.375746[/C][C]0.042744[/C][/ROW]
[ROW][C][14,16[[/C][C]15[/C][C]41[/C][C]0.081511[/C][C]0.457256[/C][C]0.040755[/C][/ROW]
[ROW][C][16,18[[/C][C]17[/C][C]32[/C][C]0.063618[/C][C]0.520875[/C][C]0.031809[/C][/ROW]
[ROW][C][18,20[[/C][C]19[/C][C]14[/C][C]0.027833[/C][C]0.548708[/C][C]0.013917[/C][/ROW]
[ROW][C][20,22[[/C][C]21[/C][C]14[/C][C]0.027833[/C][C]0.576541[/C][C]0.013917[/C][/ROW]
[ROW][C][22,24[[/C][C]23[/C][C]21[/C][C]0.04175[/C][C]0.61829[/C][C]0.020875[/C][/ROW]
[ROW][C][24,26[[/C][C]25[/C][C]12[/C][C]0.023857[/C][C]0.642147[/C][C]0.011928[/C][/ROW]
[ROW][C][26,28[[/C][C]27[/C][C]17[/C][C]0.033797[/C][C]0.675944[/C][C]0.016899[/C][/ROW]
[ROW][C][28,30[[/C][C]29[/C][C]21[/C][C]0.04175[/C][C]0.717694[/C][C]0.020875[/C][/ROW]
[ROW][C][30,32[[/C][C]31[/C][C]8[/C][C]0.015905[/C][C]0.733598[/C][C]0.007952[/C][/ROW]
[ROW][C][32,34[[/C][C]33[/C][C]2[/C][C]0.003976[/C][C]0.737575[/C][C]0.001988[/C][/ROW]
[ROW][C][34,36[[/C][C]35[/C][C]3[/C][C]0.005964[/C][C]0.743539[/C][C]0.002982[/C][/ROW]
[ROW][C][36,38[[/C][C]37[/C][C]5[/C][C]0.00994[/C][C]0.753479[/C][C]0.00497[/C][/ROW]
[ROW][C][38,40[[/C][C]39[/C][C]2[/C][C]0.003976[/C][C]0.757455[/C][C]0.001988[/C][/ROW]
[ROW][C][40,42[[/C][C]41[/C][C]2[/C][C]0.003976[/C][C]0.761431[/C][C]0.001988[/C][/ROW]
[ROW][C][42,44[[/C][C]43[/C][C]11[/C][C]0.021869[/C][C]0.7833[/C][C]0.010934[/C][/ROW]
[ROW][C][44,46[[/C][C]45[/C][C]6[/C][C]0.011928[/C][C]0.795229[/C][C]0.005964[/C][/ROW]
[ROW][C][46,48[[/C][C]47[/C][C]2[/C][C]0.003976[/C][C]0.799205[/C][C]0.001988[/C][/ROW]
[ROW][C][48,50[[/C][C]49[/C][C]3[/C][C]0.005964[/C][C]0.805169[/C][C]0.002982[/C][/ROW]
[ROW][C][50,52[[/C][C]51[/C][C]0[/C][C]0[/C][C]0.805169[/C][C]0[/C][/ROW]
[ROW][C][52,54[[/C][C]53[/C][C]6[/C][C]0.011928[/C][C]0.817097[/C][C]0.005964[/C][/ROW]
[ROW][C][54,56[[/C][C]55[/C][C]12[/C][C]0.023857[/C][C]0.840954[/C][C]0.011928[/C][/ROW]
[ROW][C][56,58[[/C][C]57[/C][C]6[/C][C]0.011928[/C][C]0.852883[/C][C]0.005964[/C][/ROW]
[ROW][C][58,60[[/C][C]59[/C][C]15[/C][C]0.029821[/C][C]0.882704[/C][C]0.014911[/C][/ROW]
[ROW][C][60,62[[/C][C]61[/C][C]15[/C][C]0.029821[/C][C]0.912525[/C][C]0.014911[/C][/ROW]
[ROW][C][62,64[[/C][C]63[/C][C]19[/C][C]0.037773[/C][C]0.950298[/C][C]0.018887[/C][/ROW]
[ROW][C][64,66[[/C][C]65[/C][C]13[/C][C]0.025845[/C][C]0.976143[/C][C]0.012922[/C][/ROW]
[ROW][C][66,68[[/C][C]67[/C][C]6[/C][C]0.011928[/C][C]0.988072[/C][C]0.005964[/C][/ROW]
[ROW][C][68,70[[/C][C]69[/C][C]5[/C][C]0.00994[/C][C]0.998012[/C][C]0.00497[/C][/ROW]
[ROW][C][70,72[[/C][C]71[/C][C]0[/C][C]0[/C][C]0.998012[/C][C]0[/C][/ROW]
[ROW][C][72,74[[/C][C]73[/C][C]0[/C][C]0[/C][C]0.998012[/C][C]0[/C][/ROW]
[ROW][C][74,76[[/C][C]75[/C][C]0[/C][C]0[/C][C]0.998012[/C][C]0[/C][/ROW]
[ROW][C][76,78][/C][C]77[/C][C]1[/C][C]0.001988[/C][C]1[/C][C]0.000994[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198202&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198202&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
[6,8[7750.1491050.1491050.074553
[8,10[9290.0576540.2067590.028827
[10,12[11420.0834990.2902580.04175
[12,14[13430.0854870.3757460.042744
[14,16[15410.0815110.4572560.040755
[16,18[17320.0636180.5208750.031809
[18,20[19140.0278330.5487080.013917
[20,22[21140.0278330.5765410.013917
[22,24[23210.041750.618290.020875
[24,26[25120.0238570.6421470.011928
[26,28[27170.0337970.6759440.016899
[28,30[29210.041750.7176940.020875
[30,32[3180.0159050.7335980.007952
[32,34[3320.0039760.7375750.001988
[34,36[3530.0059640.7435390.002982
[36,38[3750.009940.7534790.00497
[38,40[3920.0039760.7574550.001988
[40,42[4120.0039760.7614310.001988
[42,44[43110.0218690.78330.010934
[44,46[4560.0119280.7952290.005964
[46,48[4720.0039760.7992050.001988
[48,50[4930.0059640.8051690.002982
[50,52[51000.8051690
[52,54[5360.0119280.8170970.005964
[54,56[55120.0238570.8409540.011928
[56,58[5760.0119280.8528830.005964
[58,60[59150.0298210.8827040.014911
[60,62[61150.0298210.9125250.014911
[62,64[63190.0377730.9502980.018887
[64,66[65130.0258450.9761430.012922
[66,68[6760.0119280.9880720.005964
[68,70[6950.009940.9980120.00497
[70,72[71000.9980120
[72,74[73000.9980120
[74,76[75000.9980120
[76,78]7710.00198810.000994



Parameters (Session):
par1 = 30 ; par2 = grey ; par3 = FALSE ; par4 = Unknown ;
Parameters (R input):
par1 = 30 ; par2 = grey ; par3 = FALSE ; par4 = Unknown ;
R code (references can be found in the software module):
par4 <- 'Unknown'
par3 <- 'FALSE'
par2 <- 'grey'
par1 <- '30'
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')
}