Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_histogram.wasp
Title produced by softwareHistogram
Date of computationWed, 04 Mar 2009 03:15:03 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Mar/04/t1236161927d6znlrllbom584t.htm/, Retrieved Sun, 28 Apr 2024 00:38:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=38483, Retrieved Sun, 28 Apr 2024 00:38:07 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact202
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Histogram] [elke torfs mar 201] [2009-02-12 15:30:15] [74be16979710d4c4e7c6647856088456]
-   PD    [Histogram] [histogram opgave ...] [2009-03-04 10:15:03] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
9,1
9
9
8,9
8,8
8,7
8,5
8,3
8
7,8
7,6
7,6
7,5
7,4
7,2
7
6,8
6,8
6,9
6,9
6,8
6,6
6,5
6,5
6,5
6,5
6,5
6,6
6,6
6,6
6,5
6,6
6,8
7,1
7,1
7,2
7,2
7,2
7,3
7,4
7,5
7,5
7,7
7,7
7,7
7,8
7,9
7,9
8
8,1
8,1
8,3
8,3
8,2
8,1
8,1
8,2
8,3
8,4
8,4
8,4
8,3
8,2
8
8
8,1
8,5
8,6
8,6
8,4
8,4
8,3
8,3
8,4
8,4
8,5
8,5
8,4
8,4
8,4
8,4
8,5
8,5
8,5
8,6
8,6
8,5
8,5
8,4
8,3
8
7,9
8
7,9
8
7,9
7,8
7,7
7,7
7,7
7,7
7,5
7,4
7,3
7,2
7,2
7,1
7,1
7,1
7,1
7
7
6,9
7
7,2
7,2
7,3
7,1
7
7,1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

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

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







Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[6.5,6.55[6.52560.050.051
[6.55,6.6[6.575000.050
[6.6,6.65[6.62550.0416670.0916670.833333
[6.65,6.7[6.675000.0916670
[6.7,6.75[6.725000.0916670
[6.75,6.8[6.775000.0916670
[6.8,6.85[6.82540.0333330.1250.666667
[6.85,6.9[6.875000.1250
[6.9,6.95[6.92530.0250.150.5
[6.95,7[6.975000.150
[7,7.05[7.02550.0416670.1916670.833333
[7.05,7.1[7.075000.1916670
[7.1,7.15[7.12580.0666670.2583331.333333
[7.15,7.2[7.175000.2583330
[7.2,7.25[7.22580.0666670.3251.333333
[7.25,7.3[7.275000.3250
[7.3,7.35[7.32530.0250.350.5
[7.35,7.4[7.375000.350
[7.4,7.45[7.42530.0250.3750.5
[7.45,7.5[7.475000.3750
[7.5,7.55[7.52540.0333330.4083330.666667
[7.55,7.6[7.575000.4083330
[7.6,7.65[7.62520.0166670.4250.333333
[7.65,7.7[7.675000.4250
[7.7,7.75[7.72570.0583330.4833331.166667
[7.75,7.8[7.775000.4833330
[7.8,7.85[7.82530.0250.5083330.5
[7.85,7.9[7.875000.5083330
[7.9,7.95[7.92550.0416670.550.833333
[7.95,8[7.975000.550
[8,8.05[8.02570.0583330.6083331.166667
[8.05,8.1[8.075000.6083330
[8.1,8.15[8.12550.0416670.650.833333
[8.15,8.2[8.175000.650
[8.2,8.25[8.22530.0250.6750.5
[8.25,8.3[8.275000.6750
[8.3,8.35[8.32580.0666670.7416671.333333
[8.35,8.4[8.375000.7416670
[8.4,8.45[8.425120.10.8416672
[8.45,8.5[8.475000.8416670
[8.5,8.55[8.52590.0750.9166671.5
[8.55,8.6[8.575000.9166670
[8.6,8.65[8.62540.0333330.950.666667
[8.65,8.7[8.675000.950
[8.7,8.75[8.72510.0083330.9583330.166667
[8.75,8.8[8.775000.9583330
[8.8,8.85[8.82510.0083330.9666670.166667
[8.85,8.9[8.875000.9666670
[8.9,8.95[8.92510.0083330.9750.166667
[8.95,9[8.975000.9750
[9,9.05[9.02520.0166670.9916670.333333
[9.05,9.1]9.07510.00833310.166667

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[6.5,6.55[ & 6.525 & 6 & 0.05 & 0.05 & 1 \tabularnewline
[6.55,6.6[ & 6.575 & 0 & 0 & 0.05 & 0 \tabularnewline
[6.6,6.65[ & 6.625 & 5 & 0.041667 & 0.091667 & 0.833333 \tabularnewline
[6.65,6.7[ & 6.675 & 0 & 0 & 0.091667 & 0 \tabularnewline
[6.7,6.75[ & 6.725 & 0 & 0 & 0.091667 & 0 \tabularnewline
[6.75,6.8[ & 6.775 & 0 & 0 & 0.091667 & 0 \tabularnewline
[6.8,6.85[ & 6.825 & 4 & 0.033333 & 0.125 & 0.666667 \tabularnewline
[6.85,6.9[ & 6.875 & 0 & 0 & 0.125 & 0 \tabularnewline
[6.9,6.95[ & 6.925 & 3 & 0.025 & 0.15 & 0.5 \tabularnewline
[6.95,7[ & 6.975 & 0 & 0 & 0.15 & 0 \tabularnewline
[7,7.05[ & 7.025 & 5 & 0.041667 & 0.191667 & 0.833333 \tabularnewline
[7.05,7.1[ & 7.075 & 0 & 0 & 0.191667 & 0 \tabularnewline
[7.1,7.15[ & 7.125 & 8 & 0.066667 & 0.258333 & 1.333333 \tabularnewline
[7.15,7.2[ & 7.175 & 0 & 0 & 0.258333 & 0 \tabularnewline
[7.2,7.25[ & 7.225 & 8 & 0.066667 & 0.325 & 1.333333 \tabularnewline
[7.25,7.3[ & 7.275 & 0 & 0 & 0.325 & 0 \tabularnewline
[7.3,7.35[ & 7.325 & 3 & 0.025 & 0.35 & 0.5 \tabularnewline
[7.35,7.4[ & 7.375 & 0 & 0 & 0.35 & 0 \tabularnewline
[7.4,7.45[ & 7.425 & 3 & 0.025 & 0.375 & 0.5 \tabularnewline
[7.45,7.5[ & 7.475 & 0 & 0 & 0.375 & 0 \tabularnewline
[7.5,7.55[ & 7.525 & 4 & 0.033333 & 0.408333 & 0.666667 \tabularnewline
[7.55,7.6[ & 7.575 & 0 & 0 & 0.408333 & 0 \tabularnewline
[7.6,7.65[ & 7.625 & 2 & 0.016667 & 0.425 & 0.333333 \tabularnewline
[7.65,7.7[ & 7.675 & 0 & 0 & 0.425 & 0 \tabularnewline
[7.7,7.75[ & 7.725 & 7 & 0.058333 & 0.483333 & 1.166667 \tabularnewline
[7.75,7.8[ & 7.775 & 0 & 0 & 0.483333 & 0 \tabularnewline
[7.8,7.85[ & 7.825 & 3 & 0.025 & 0.508333 & 0.5 \tabularnewline
[7.85,7.9[ & 7.875 & 0 & 0 & 0.508333 & 0 \tabularnewline
[7.9,7.95[ & 7.925 & 5 & 0.041667 & 0.55 & 0.833333 \tabularnewline
[7.95,8[ & 7.975 & 0 & 0 & 0.55 & 0 \tabularnewline
[8,8.05[ & 8.025 & 7 & 0.058333 & 0.608333 & 1.166667 \tabularnewline
[8.05,8.1[ & 8.075 & 0 & 0 & 0.608333 & 0 \tabularnewline
[8.1,8.15[ & 8.125 & 5 & 0.041667 & 0.65 & 0.833333 \tabularnewline
[8.15,8.2[ & 8.175 & 0 & 0 & 0.65 & 0 \tabularnewline
[8.2,8.25[ & 8.225 & 3 & 0.025 & 0.675 & 0.5 \tabularnewline
[8.25,8.3[ & 8.275 & 0 & 0 & 0.675 & 0 \tabularnewline
[8.3,8.35[ & 8.325 & 8 & 0.066667 & 0.741667 & 1.333333 \tabularnewline
[8.35,8.4[ & 8.375 & 0 & 0 & 0.741667 & 0 \tabularnewline
[8.4,8.45[ & 8.425 & 12 & 0.1 & 0.841667 & 2 \tabularnewline
[8.45,8.5[ & 8.475 & 0 & 0 & 0.841667 & 0 \tabularnewline
[8.5,8.55[ & 8.525 & 9 & 0.075 & 0.916667 & 1.5 \tabularnewline
[8.55,8.6[ & 8.575 & 0 & 0 & 0.916667 & 0 \tabularnewline
[8.6,8.65[ & 8.625 & 4 & 0.033333 & 0.95 & 0.666667 \tabularnewline
[8.65,8.7[ & 8.675 & 0 & 0 & 0.95 & 0 \tabularnewline
[8.7,8.75[ & 8.725 & 1 & 0.008333 & 0.958333 & 0.166667 \tabularnewline
[8.75,8.8[ & 8.775 & 0 & 0 & 0.958333 & 0 \tabularnewline
[8.8,8.85[ & 8.825 & 1 & 0.008333 & 0.966667 & 0.166667 \tabularnewline
[8.85,8.9[ & 8.875 & 0 & 0 & 0.966667 & 0 \tabularnewline
[8.9,8.95[ & 8.925 & 1 & 0.008333 & 0.975 & 0.166667 \tabularnewline
[8.95,9[ & 8.975 & 0 & 0 & 0.975 & 0 \tabularnewline
[9,9.05[ & 9.025 & 2 & 0.016667 & 0.991667 & 0.333333 \tabularnewline
[9.05,9.1] & 9.075 & 1 & 0.008333 & 1 & 0.166667 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=38483&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.5,6.55[[/C][C]6.525[/C][C]6[/C][C]0.05[/C][C]0.05[/C][C]1[/C][/ROW]
[ROW][C][6.55,6.6[[/C][C]6.575[/C][C]0[/C][C]0[/C][C]0.05[/C][C]0[/C][/ROW]
[ROW][C][6.6,6.65[[/C][C]6.625[/C][C]5[/C][C]0.041667[/C][C]0.091667[/C][C]0.833333[/C][/ROW]
[ROW][C][6.65,6.7[[/C][C]6.675[/C][C]0[/C][C]0[/C][C]0.091667[/C][C]0[/C][/ROW]
[ROW][C][6.7,6.75[[/C][C]6.725[/C][C]0[/C][C]0[/C][C]0.091667[/C][C]0[/C][/ROW]
[ROW][C][6.75,6.8[[/C][C]6.775[/C][C]0[/C][C]0[/C][C]0.091667[/C][C]0[/C][/ROW]
[ROW][C][6.8,6.85[[/C][C]6.825[/C][C]4[/C][C]0.033333[/C][C]0.125[/C][C]0.666667[/C][/ROW]
[ROW][C][6.85,6.9[[/C][C]6.875[/C][C]0[/C][C]0[/C][C]0.125[/C][C]0[/C][/ROW]
[ROW][C][6.9,6.95[[/C][C]6.925[/C][C]3[/C][C]0.025[/C][C]0.15[/C][C]0.5[/C][/ROW]
[ROW][C][6.95,7[[/C][C]6.975[/C][C]0[/C][C]0[/C][C]0.15[/C][C]0[/C][/ROW]
[ROW][C][7,7.05[[/C][C]7.025[/C][C]5[/C][C]0.041667[/C][C]0.191667[/C][C]0.833333[/C][/ROW]
[ROW][C][7.05,7.1[[/C][C]7.075[/C][C]0[/C][C]0[/C][C]0.191667[/C][C]0[/C][/ROW]
[ROW][C][7.1,7.15[[/C][C]7.125[/C][C]8[/C][C]0.066667[/C][C]0.258333[/C][C]1.333333[/C][/ROW]
[ROW][C][7.15,7.2[[/C][C]7.175[/C][C]0[/C][C]0[/C][C]0.258333[/C][C]0[/C][/ROW]
[ROW][C][7.2,7.25[[/C][C]7.225[/C][C]8[/C][C]0.066667[/C][C]0.325[/C][C]1.333333[/C][/ROW]
[ROW][C][7.25,7.3[[/C][C]7.275[/C][C]0[/C][C]0[/C][C]0.325[/C][C]0[/C][/ROW]
[ROW][C][7.3,7.35[[/C][C]7.325[/C][C]3[/C][C]0.025[/C][C]0.35[/C][C]0.5[/C][/ROW]
[ROW][C][7.35,7.4[[/C][C]7.375[/C][C]0[/C][C]0[/C][C]0.35[/C][C]0[/C][/ROW]
[ROW][C][7.4,7.45[[/C][C]7.425[/C][C]3[/C][C]0.025[/C][C]0.375[/C][C]0.5[/C][/ROW]
[ROW][C][7.45,7.5[[/C][C]7.475[/C][C]0[/C][C]0[/C][C]0.375[/C][C]0[/C][/ROW]
[ROW][C][7.5,7.55[[/C][C]7.525[/C][C]4[/C][C]0.033333[/C][C]0.408333[/C][C]0.666667[/C][/ROW]
[ROW][C][7.55,7.6[[/C][C]7.575[/C][C]0[/C][C]0[/C][C]0.408333[/C][C]0[/C][/ROW]
[ROW][C][7.6,7.65[[/C][C]7.625[/C][C]2[/C][C]0.016667[/C][C]0.425[/C][C]0.333333[/C][/ROW]
[ROW][C][7.65,7.7[[/C][C]7.675[/C][C]0[/C][C]0[/C][C]0.425[/C][C]0[/C][/ROW]
[ROW][C][7.7,7.75[[/C][C]7.725[/C][C]7[/C][C]0.058333[/C][C]0.483333[/C][C]1.166667[/C][/ROW]
[ROW][C][7.75,7.8[[/C][C]7.775[/C][C]0[/C][C]0[/C][C]0.483333[/C][C]0[/C][/ROW]
[ROW][C][7.8,7.85[[/C][C]7.825[/C][C]3[/C][C]0.025[/C][C]0.508333[/C][C]0.5[/C][/ROW]
[ROW][C][7.85,7.9[[/C][C]7.875[/C][C]0[/C][C]0[/C][C]0.508333[/C][C]0[/C][/ROW]
[ROW][C][7.9,7.95[[/C][C]7.925[/C][C]5[/C][C]0.041667[/C][C]0.55[/C][C]0.833333[/C][/ROW]
[ROW][C][7.95,8[[/C][C]7.975[/C][C]0[/C][C]0[/C][C]0.55[/C][C]0[/C][/ROW]
[ROW][C][8,8.05[[/C][C]8.025[/C][C]7[/C][C]0.058333[/C][C]0.608333[/C][C]1.166667[/C][/ROW]
[ROW][C][8.05,8.1[[/C][C]8.075[/C][C]0[/C][C]0[/C][C]0.608333[/C][C]0[/C][/ROW]
[ROW][C][8.1,8.15[[/C][C]8.125[/C][C]5[/C][C]0.041667[/C][C]0.65[/C][C]0.833333[/C][/ROW]
[ROW][C][8.15,8.2[[/C][C]8.175[/C][C]0[/C][C]0[/C][C]0.65[/C][C]0[/C][/ROW]
[ROW][C][8.2,8.25[[/C][C]8.225[/C][C]3[/C][C]0.025[/C][C]0.675[/C][C]0.5[/C][/ROW]
[ROW][C][8.25,8.3[[/C][C]8.275[/C][C]0[/C][C]0[/C][C]0.675[/C][C]0[/C][/ROW]
[ROW][C][8.3,8.35[[/C][C]8.325[/C][C]8[/C][C]0.066667[/C][C]0.741667[/C][C]1.333333[/C][/ROW]
[ROW][C][8.35,8.4[[/C][C]8.375[/C][C]0[/C][C]0[/C][C]0.741667[/C][C]0[/C][/ROW]
[ROW][C][8.4,8.45[[/C][C]8.425[/C][C]12[/C][C]0.1[/C][C]0.841667[/C][C]2[/C][/ROW]
[ROW][C][8.45,8.5[[/C][C]8.475[/C][C]0[/C][C]0[/C][C]0.841667[/C][C]0[/C][/ROW]
[ROW][C][8.5,8.55[[/C][C]8.525[/C][C]9[/C][C]0.075[/C][C]0.916667[/C][C]1.5[/C][/ROW]
[ROW][C][8.55,8.6[[/C][C]8.575[/C][C]0[/C][C]0[/C][C]0.916667[/C][C]0[/C][/ROW]
[ROW][C][8.6,8.65[[/C][C]8.625[/C][C]4[/C][C]0.033333[/C][C]0.95[/C][C]0.666667[/C][/ROW]
[ROW][C][8.65,8.7[[/C][C]8.675[/C][C]0[/C][C]0[/C][C]0.95[/C][C]0[/C][/ROW]
[ROW][C][8.7,8.75[[/C][C]8.725[/C][C]1[/C][C]0.008333[/C][C]0.958333[/C][C]0.166667[/C][/ROW]
[ROW][C][8.75,8.8[[/C][C]8.775[/C][C]0[/C][C]0[/C][C]0.958333[/C][C]0[/C][/ROW]
[ROW][C][8.8,8.85[[/C][C]8.825[/C][C]1[/C][C]0.008333[/C][C]0.966667[/C][C]0.166667[/C][/ROW]
[ROW][C][8.85,8.9[[/C][C]8.875[/C][C]0[/C][C]0[/C][C]0.966667[/C][C]0[/C][/ROW]
[ROW][C][8.9,8.95[[/C][C]8.925[/C][C]1[/C][C]0.008333[/C][C]0.975[/C][C]0.166667[/C][/ROW]
[ROW][C][8.95,9[[/C][C]8.975[/C][C]0[/C][C]0[/C][C]0.975[/C][C]0[/C][/ROW]
[ROW][C][9,9.05[[/C][C]9.025[/C][C]2[/C][C]0.016667[/C][C]0.991667[/C][C]0.333333[/C][/ROW]
[ROW][C][9.05,9.1][/C][C]9.075[/C][C]1[/C][C]0.008333[/C][C]1[/C][C]0.166667[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=38483&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=38483&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.5,6.55[6.52560.050.051
[6.55,6.6[6.575000.050
[6.6,6.65[6.62550.0416670.0916670.833333
[6.65,6.7[6.675000.0916670
[6.7,6.75[6.725000.0916670
[6.75,6.8[6.775000.0916670
[6.8,6.85[6.82540.0333330.1250.666667
[6.85,6.9[6.875000.1250
[6.9,6.95[6.92530.0250.150.5
[6.95,7[6.975000.150
[7,7.05[7.02550.0416670.1916670.833333
[7.05,7.1[7.075000.1916670
[7.1,7.15[7.12580.0666670.2583331.333333
[7.15,7.2[7.175000.2583330
[7.2,7.25[7.22580.0666670.3251.333333
[7.25,7.3[7.275000.3250
[7.3,7.35[7.32530.0250.350.5
[7.35,7.4[7.375000.350
[7.4,7.45[7.42530.0250.3750.5
[7.45,7.5[7.475000.3750
[7.5,7.55[7.52540.0333330.4083330.666667
[7.55,7.6[7.575000.4083330
[7.6,7.65[7.62520.0166670.4250.333333
[7.65,7.7[7.675000.4250
[7.7,7.75[7.72570.0583330.4833331.166667
[7.75,7.8[7.775000.4833330
[7.8,7.85[7.82530.0250.5083330.5
[7.85,7.9[7.875000.5083330
[7.9,7.95[7.92550.0416670.550.833333
[7.95,8[7.975000.550
[8,8.05[8.02570.0583330.6083331.166667
[8.05,8.1[8.075000.6083330
[8.1,8.15[8.12550.0416670.650.833333
[8.15,8.2[8.175000.650
[8.2,8.25[8.22530.0250.6750.5
[8.25,8.3[8.275000.6750
[8.3,8.35[8.32580.0666670.7416671.333333
[8.35,8.4[8.375000.7416670
[8.4,8.45[8.425120.10.8416672
[8.45,8.5[8.475000.8416670
[8.5,8.55[8.52590.0750.9166671.5
[8.55,8.6[8.575000.9166670
[8.6,8.65[8.62540.0333330.950.666667
[8.65,8.7[8.675000.950
[8.7,8.75[8.72510.0083330.9583330.166667
[8.75,8.8[8.775000.9583330
[8.8,8.85[8.82510.0083330.9666670.166667
[8.85,8.9[8.875000.9666670
[8.9,8.95[8.92510.0083330.9750.166667
[8.95,9[8.975000.9750
[9,9.05[9.02520.0166670.9916670.333333
[9.05,9.1]9.07510.00833310.166667



Parameters (Session):
par1 = 170 ; par2 = grey ; par3 = FALSE ; par4 = Unknown ;
Parameters (R input):
par1 = 170 ; 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.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)
}
dev.off()
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')