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 computationSat, 02 Oct 2010 20:26:59 +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/2010/Oct/02/t1286051251taojojcdk6ourdj.htm/, Retrieved Thu, 05 Dec 2024 22:10:53 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=80119, Retrieved Thu, 05 Dec 2024 22:10:53 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact192
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   P     [Histogram] [Task 3 - Histogram] [2010-10-02 20:26:59] [fca744d17b21beb005bf086e7071b2bb] [Current]
-   PD      [Histogram] [WS 6 Yt skewness ...] [2010-11-14 22:22:59] [19f9551d4d95750ef21e9f3cf8fe2131]
- R  D        [Histogram] [WS 6 Linear Regre...] [2011-11-13 00:40:52] [f5fdea4413921432bb019d1f20c4f2ec]
- RM          [Histogram] [] [2011-11-14 19:02:38] [74be16979710d4c4e7c6647856088456]
Feedback Forum
2010-10-09 12:37:42 [abfc2690eac87da053eb0d612ccdbe5b] [reply
Het aantal klassen (number of bins) werd verhoogd naar 30, wat goed was.

De uitschieters zijn er wel niet uitgehaald, waardoor de leesbaarheid van de grafiek niet optimaal is. De uitschieters zijn alle waarden boven 700. Dat kan je ook zien aan de tabel van de klassen. Vanaf klasse [700,800[ tot en met klasse [4200,4300[, kan je zien dat de frequenties héél laag zijn. Af en toe 1 en vaak 0 (= dus uitschieters/outliers). Alle waarde tot 700 hadden gebruikt moeten worden om het histogram te berekenen.

Post a new message
Dataseries X:
426.113
383.703
232.444
70.939
226.731
947.293
611.281
158.047
33.999
37.028
388.3
506.652
392.25
180.818
198.296
217.465
275.562
1030.944
57.47
136.452
556.277
213.361
274.482
220.553
236.71
260.642
2763.544
213.923
169.861
403.064
449.594
406.167
206.893
156.187
257.102
62.156
662.883
251.422
171.328
350.089
221.588
4.813
183.186
190.379
223.166
232.669
356.725
109.215
475.834
315.955
694.87
8.95
278.741
308.16
207.533
192.797
601.162
289.714
293.671
386.688
699.645
85.094
131.812
645.285
197.549
308.174
86.58
242.205
238.502
187.881
140.321
440.31
421.403
218.761
1305.923
137.55
262.517
348.821
150.034
64.016
261.596
259.7
171.26
203.077
249.148
211.655
252.64
438.555
239.89
401.915
216.886
184.641
380.155
653.641
313.906
366.936
236.302
229.641
235.577
103.898
263.906
241.171
216.548
295.281
193.299
204.386
257.567
136.813
240.755
59.609
213.511
380.531
242.344
250.407
183.613
191.835
266.793
246.542
330.563
403.556
208.108
324.04
308.532
199.297
200.156
262.875
287.069
190.157
199.746
265.777
435.956
72.844
756.46
206.771
4202.361
401.422
216.046
39.047
441.437




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\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 & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=80119&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]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=80119&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=80119&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'RServer@AstonUniversity' @ vre.aston.ac.uk







Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[0,100[50130.0935250.0935250.000935
[100,200[150270.1942450.287770.001942
[200,300[250540.3884890.6762590.003885
[300,400[350170.1223020.7985610.001223
[400,500[450130.0935250.8920860.000935
[500,600[55020.0143880.9064750.000144
[600,700[65070.050360.9568350.000504
[700,800[75010.0071940.9640297.2e-05
[800,900[850000.9640290
[900,1000[95010.0071940.9712237.2e-05
[1000,1100[105010.0071940.9784177.2e-05
[1100,1200[1150000.9784170
[1200,1300[1250000.9784170
[1300,1400[135010.0071940.9856127.2e-05
[1400,1500[1450000.9856120
[1500,1600[1550000.9856120
[1600,1700[1650000.9856120
[1700,1800[1750000.9856120
[1800,1900[1850000.9856120
[1900,2000[1950000.9856120
[2000,2100[2050000.9856120
[2100,2200[2150000.9856120
[2200,2300[2250000.9856120
[2300,2400[2350000.9856120
[2400,2500[2450000.9856120
[2500,2600[2550000.9856120
[2600,2700[2650000.9856120
[2700,2800[275010.0071940.9928067.2e-05
[2800,2900[2850000.9928060
[2900,3000[2950000.9928060
[3000,3100[3050000.9928060
[3100,3200[3150000.9928060
[3200,3300[3250000.9928060
[3300,3400[3350000.9928060
[3400,3500[3450000.9928060
[3500,3600[3550000.9928060
[3600,3700[3650000.9928060
[3700,3800[3750000.9928060
[3800,3900[3850000.9928060
[3900,4000[3950000.9928060
[4000,4100[4050000.9928060
[4100,4200[4150000.9928060
[4200,4300]425010.00719417.2e-05

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[0,100[ & 50 & 13 & 0.093525 & 0.093525 & 0.000935 \tabularnewline
[100,200[ & 150 & 27 & 0.194245 & 0.28777 & 0.001942 \tabularnewline
[200,300[ & 250 & 54 & 0.388489 & 0.676259 & 0.003885 \tabularnewline
[300,400[ & 350 & 17 & 0.122302 & 0.798561 & 0.001223 \tabularnewline
[400,500[ & 450 & 13 & 0.093525 & 0.892086 & 0.000935 \tabularnewline
[500,600[ & 550 & 2 & 0.014388 & 0.906475 & 0.000144 \tabularnewline
[600,700[ & 650 & 7 & 0.05036 & 0.956835 & 0.000504 \tabularnewline
[700,800[ & 750 & 1 & 0.007194 & 0.964029 & 7.2e-05 \tabularnewline
[800,900[ & 850 & 0 & 0 & 0.964029 & 0 \tabularnewline
[900,1000[ & 950 & 1 & 0.007194 & 0.971223 & 7.2e-05 \tabularnewline
[1000,1100[ & 1050 & 1 & 0.007194 & 0.978417 & 7.2e-05 \tabularnewline
[1100,1200[ & 1150 & 0 & 0 & 0.978417 & 0 \tabularnewline
[1200,1300[ & 1250 & 0 & 0 & 0.978417 & 0 \tabularnewline
[1300,1400[ & 1350 & 1 & 0.007194 & 0.985612 & 7.2e-05 \tabularnewline
[1400,1500[ & 1450 & 0 & 0 & 0.985612 & 0 \tabularnewline
[1500,1600[ & 1550 & 0 & 0 & 0.985612 & 0 \tabularnewline
[1600,1700[ & 1650 & 0 & 0 & 0.985612 & 0 \tabularnewline
[1700,1800[ & 1750 & 0 & 0 & 0.985612 & 0 \tabularnewline
[1800,1900[ & 1850 & 0 & 0 & 0.985612 & 0 \tabularnewline
[1900,2000[ & 1950 & 0 & 0 & 0.985612 & 0 \tabularnewline
[2000,2100[ & 2050 & 0 & 0 & 0.985612 & 0 \tabularnewline
[2100,2200[ & 2150 & 0 & 0 & 0.985612 & 0 \tabularnewline
[2200,2300[ & 2250 & 0 & 0 & 0.985612 & 0 \tabularnewline
[2300,2400[ & 2350 & 0 & 0 & 0.985612 & 0 \tabularnewline
[2400,2500[ & 2450 & 0 & 0 & 0.985612 & 0 \tabularnewline
[2500,2600[ & 2550 & 0 & 0 & 0.985612 & 0 \tabularnewline
[2600,2700[ & 2650 & 0 & 0 & 0.985612 & 0 \tabularnewline
[2700,2800[ & 2750 & 1 & 0.007194 & 0.992806 & 7.2e-05 \tabularnewline
[2800,2900[ & 2850 & 0 & 0 & 0.992806 & 0 \tabularnewline
[2900,3000[ & 2950 & 0 & 0 & 0.992806 & 0 \tabularnewline
[3000,3100[ & 3050 & 0 & 0 & 0.992806 & 0 \tabularnewline
[3100,3200[ & 3150 & 0 & 0 & 0.992806 & 0 \tabularnewline
[3200,3300[ & 3250 & 0 & 0 & 0.992806 & 0 \tabularnewline
[3300,3400[ & 3350 & 0 & 0 & 0.992806 & 0 \tabularnewline
[3400,3500[ & 3450 & 0 & 0 & 0.992806 & 0 \tabularnewline
[3500,3600[ & 3550 & 0 & 0 & 0.992806 & 0 \tabularnewline
[3600,3700[ & 3650 & 0 & 0 & 0.992806 & 0 \tabularnewline
[3700,3800[ & 3750 & 0 & 0 & 0.992806 & 0 \tabularnewline
[3800,3900[ & 3850 & 0 & 0 & 0.992806 & 0 \tabularnewline
[3900,4000[ & 3950 & 0 & 0 & 0.992806 & 0 \tabularnewline
[4000,4100[ & 4050 & 0 & 0 & 0.992806 & 0 \tabularnewline
[4100,4200[ & 4150 & 0 & 0 & 0.992806 & 0 \tabularnewline
[4200,4300] & 4250 & 1 & 0.007194 & 1 & 7.2e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=80119&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][0,100[[/C][C]50[/C][C]13[/C][C]0.093525[/C][C]0.093525[/C][C]0.000935[/C][/ROW]
[ROW][C][100,200[[/C][C]150[/C][C]27[/C][C]0.194245[/C][C]0.28777[/C][C]0.001942[/C][/ROW]
[ROW][C][200,300[[/C][C]250[/C][C]54[/C][C]0.388489[/C][C]0.676259[/C][C]0.003885[/C][/ROW]
[ROW][C][300,400[[/C][C]350[/C][C]17[/C][C]0.122302[/C][C]0.798561[/C][C]0.001223[/C][/ROW]
[ROW][C][400,500[[/C][C]450[/C][C]13[/C][C]0.093525[/C][C]0.892086[/C][C]0.000935[/C][/ROW]
[ROW][C][500,600[[/C][C]550[/C][C]2[/C][C]0.014388[/C][C]0.906475[/C][C]0.000144[/C][/ROW]
[ROW][C][600,700[[/C][C]650[/C][C]7[/C][C]0.05036[/C][C]0.956835[/C][C]0.000504[/C][/ROW]
[ROW][C][700,800[[/C][C]750[/C][C]1[/C][C]0.007194[/C][C]0.964029[/C][C]7.2e-05[/C][/ROW]
[ROW][C][800,900[[/C][C]850[/C][C]0[/C][C]0[/C][C]0.964029[/C][C]0[/C][/ROW]
[ROW][C][900,1000[[/C][C]950[/C][C]1[/C][C]0.007194[/C][C]0.971223[/C][C]7.2e-05[/C][/ROW]
[ROW][C][1000,1100[[/C][C]1050[/C][C]1[/C][C]0.007194[/C][C]0.978417[/C][C]7.2e-05[/C][/ROW]
[ROW][C][1100,1200[[/C][C]1150[/C][C]0[/C][C]0[/C][C]0.978417[/C][C]0[/C][/ROW]
[ROW][C][1200,1300[[/C][C]1250[/C][C]0[/C][C]0[/C][C]0.978417[/C][C]0[/C][/ROW]
[ROW][C][1300,1400[[/C][C]1350[/C][C]1[/C][C]0.007194[/C][C]0.985612[/C][C]7.2e-05[/C][/ROW]
[ROW][C][1400,1500[[/C][C]1450[/C][C]0[/C][C]0[/C][C]0.985612[/C][C]0[/C][/ROW]
[ROW][C][1500,1600[[/C][C]1550[/C][C]0[/C][C]0[/C][C]0.985612[/C][C]0[/C][/ROW]
[ROW][C][1600,1700[[/C][C]1650[/C][C]0[/C][C]0[/C][C]0.985612[/C][C]0[/C][/ROW]
[ROW][C][1700,1800[[/C][C]1750[/C][C]0[/C][C]0[/C][C]0.985612[/C][C]0[/C][/ROW]
[ROW][C][1800,1900[[/C][C]1850[/C][C]0[/C][C]0[/C][C]0.985612[/C][C]0[/C][/ROW]
[ROW][C][1900,2000[[/C][C]1950[/C][C]0[/C][C]0[/C][C]0.985612[/C][C]0[/C][/ROW]
[ROW][C][2000,2100[[/C][C]2050[/C][C]0[/C][C]0[/C][C]0.985612[/C][C]0[/C][/ROW]
[ROW][C][2100,2200[[/C][C]2150[/C][C]0[/C][C]0[/C][C]0.985612[/C][C]0[/C][/ROW]
[ROW][C][2200,2300[[/C][C]2250[/C][C]0[/C][C]0[/C][C]0.985612[/C][C]0[/C][/ROW]
[ROW][C][2300,2400[[/C][C]2350[/C][C]0[/C][C]0[/C][C]0.985612[/C][C]0[/C][/ROW]
[ROW][C][2400,2500[[/C][C]2450[/C][C]0[/C][C]0[/C][C]0.985612[/C][C]0[/C][/ROW]
[ROW][C][2500,2600[[/C][C]2550[/C][C]0[/C][C]0[/C][C]0.985612[/C][C]0[/C][/ROW]
[ROW][C][2600,2700[[/C][C]2650[/C][C]0[/C][C]0[/C][C]0.985612[/C][C]0[/C][/ROW]
[ROW][C][2700,2800[[/C][C]2750[/C][C]1[/C][C]0.007194[/C][C]0.992806[/C][C]7.2e-05[/C][/ROW]
[ROW][C][2800,2900[[/C][C]2850[/C][C]0[/C][C]0[/C][C]0.992806[/C][C]0[/C][/ROW]
[ROW][C][2900,3000[[/C][C]2950[/C][C]0[/C][C]0[/C][C]0.992806[/C][C]0[/C][/ROW]
[ROW][C][3000,3100[[/C][C]3050[/C][C]0[/C][C]0[/C][C]0.992806[/C][C]0[/C][/ROW]
[ROW][C][3100,3200[[/C][C]3150[/C][C]0[/C][C]0[/C][C]0.992806[/C][C]0[/C][/ROW]
[ROW][C][3200,3300[[/C][C]3250[/C][C]0[/C][C]0[/C][C]0.992806[/C][C]0[/C][/ROW]
[ROW][C][3300,3400[[/C][C]3350[/C][C]0[/C][C]0[/C][C]0.992806[/C][C]0[/C][/ROW]
[ROW][C][3400,3500[[/C][C]3450[/C][C]0[/C][C]0[/C][C]0.992806[/C][C]0[/C][/ROW]
[ROW][C][3500,3600[[/C][C]3550[/C][C]0[/C][C]0[/C][C]0.992806[/C][C]0[/C][/ROW]
[ROW][C][3600,3700[[/C][C]3650[/C][C]0[/C][C]0[/C][C]0.992806[/C][C]0[/C][/ROW]
[ROW][C][3700,3800[[/C][C]3750[/C][C]0[/C][C]0[/C][C]0.992806[/C][C]0[/C][/ROW]
[ROW][C][3800,3900[[/C][C]3850[/C][C]0[/C][C]0[/C][C]0.992806[/C][C]0[/C][/ROW]
[ROW][C][3900,4000[[/C][C]3950[/C][C]0[/C][C]0[/C][C]0.992806[/C][C]0[/C][/ROW]
[ROW][C][4000,4100[[/C][C]4050[/C][C]0[/C][C]0[/C][C]0.992806[/C][C]0[/C][/ROW]
[ROW][C][4100,4200[[/C][C]4150[/C][C]0[/C][C]0[/C][C]0.992806[/C][C]0[/C][/ROW]
[ROW][C][4200,4300][/C][C]4250[/C][C]1[/C][C]0.007194[/C][C]1[/C][C]7.2e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=80119&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=80119&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
[0,100[50130.0935250.0935250.000935
[100,200[150270.1942450.287770.001942
[200,300[250540.3884890.6762590.003885
[300,400[350170.1223020.7985610.001223
[400,500[450130.0935250.8920860.000935
[500,600[55020.0143880.9064750.000144
[600,700[65070.050360.9568350.000504
[700,800[75010.0071940.9640297.2e-05
[800,900[850000.9640290
[900,1000[95010.0071940.9712237.2e-05
[1000,1100[105010.0071940.9784177.2e-05
[1100,1200[1150000.9784170
[1200,1300[1250000.9784170
[1300,1400[135010.0071940.9856127.2e-05
[1400,1500[1450000.9856120
[1500,1600[1550000.9856120
[1600,1700[1650000.9856120
[1700,1800[1750000.9856120
[1800,1900[1850000.9856120
[1900,2000[1950000.9856120
[2000,2100[2050000.9856120
[2100,2200[2150000.9856120
[2200,2300[2250000.9856120
[2300,2400[2350000.9856120
[2400,2500[2450000.9856120
[2500,2600[2550000.9856120
[2600,2700[2650000.9856120
[2700,2800[275010.0071940.9928067.2e-05
[2800,2900[2850000.9928060
[2900,3000[2950000.9928060
[3000,3100[3050000.9928060
[3100,3200[3150000.9928060
[3200,3300[3250000.9928060
[3300,3400[3350000.9928060
[3400,3500[3450000.9928060
[3500,3600[3550000.9928060
[3600,3700[3650000.9928060
[3700,3800[3750000.9928060
[3800,3900[3850000.9928060
[3900,4000[3950000.9928060
[4000,4100[4050000.9928060
[4100,4200[4150000.9928060
[4200,4300]425010.00719417.2e-05



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