From: Thomas F. <tho...@ru...> - 2015-01-31 13:11:55
|
Git commit af5c28f17275c558857dea5069354840f2803592 by Thomas Friedrichsmeier. Committed on 31/01/2015 at 13:10. Pushed by tfry into branch 'master'. Update test standards for rk.results() formatting changes, and typo-fixes. M +3 -3 tests/analysis_plugins/agostino_test.rkout M +2 -2 tests/analysis_plugins/basic_statistics_a.rkout M +1 -1 tests/analysis_plugins/basic_statistics_b.rkout M +4 -4 tests/analysis_plugins/bonett_test.rkout M +1 -1 tests/analysis_plugins/box_test.rkout M +8 -8 tests/analysis_plugins/chisq_out_test.rkout M +6 -6 tests/analysis_plugins/correlation_matrix.rkout M +4 -1 tests/analysis_plugins/correlation_matrix_plot.rkcommands.R M +4 -4 tests/analysis_plugins/correlation_matrix_plot.rkout M +3 -3 tests/analysis_plugins/crosstab_n_to_1.rkout M +2 -2 tests/analysis_plugins/descriptive_stats.rkout M +3 -3 tests/analysis_plugins/dixon_test.rkout M +4 -4 tests/analysis_plugins/grubbs_test.rkout M +2 -2 tests/analysis_plugins/moments_moment.rkout M +3 -3 tests/analysis_plugins/outlier.rkout M +31 -31 tests/analysis_plugins/power_analysis.rkout M +4 -4 tests/analysis_plugins/pp_test.rkout M +2 -2 tests/analysis_plugins/skewness_kurtosis.rkout M +2 -2 tests/plots/barplot.rkcommands.R M +16 -16 tests/plots/pareto_chart.rkout http://commits.kde.org/rkward/af5c28f17275c558857dea5069354840f2803592 diff --git a/tests/analysis_plugins/agostino_test.rkout b/tests/analysis_plugins/agostino_test.rkout index 0df72d6..cc76b1f 100644 --- a/tests/analysis_plugins/agostino_test.rkout +++ b/tests/analysis_plugins/agostino_test.rkout @@ -5,7 +5,7 @@ DATE<br /> <table border="1"> <tr><td>Variable Name</td><td>skewness estimator (skew)</td><td>transformation (z)</td><td>p-value</td><td>Alternative Hypothesis</td><td>Length</td><td>NAs</td></tr> -<tr><td>breaks</td><td>1.272</td><td>2.3145</td><td>0.020643</td><td>data have a skewness</td><td>54</td><td>0</td></tr> -<tr><td>test50z</td><td>0</td><td>0</td><td>1</td><td>data have a skewness</td><td>50</td><td>0</td></tr> -<tr><td>test10x</td><td>0</td><td>0</td><td>1</td><td>data have a skewness</td><td>11</td><td>1</td></tr> +<tr><td>breaks </td><td>1.272</td><td>2.3145</td><td>0.020643</td><td>data have a skewness</td><td>54</td><td>0</td></tr> +<tr><td>test50z</td><td>0.000</td><td>0.0000</td><td>1.000000</td><td>data have a skewness</td><td>50</td><td>0</td></tr> +<tr><td>test10x</td><td>0.000</td><td>0.0000</td><td>1.000000</td><td>data have a skewness</td><td>11</td><td>1</td></tr> </table> diff --git a/tests/analysis_plugins/basic_statistics_a.rkout b/tests/analysis_plugins/basic_statistics_a.rkout index cc75105..3f03da5 100644 --- a/tests/analysis_plugins/basic_statistics_a.rkout +++ b/tests/analysis_plugins/basic_statistics_a.rkout @@ -12,6 +12,6 @@ DATE<br /> <table border="1"> <tr><td>Variable Name</td><td>Number of cases</td><td>Number of missing values</td><td>Mean</td><td>Variance</td><td>sd</td><td>Minimum</td><td>Maximum</td><td>Median</td><td>Inter Quartile Range</td><td>Quartiles</td><td>Quantiles</td><td>Trimmed Mean</td><td>Median Absolute Deviation</td><td>Huber M-Estimator</td></tr> -<tr><td>weight</td><td>15</td><td>0</td><td>136.73</td><td>240.21</td><td>15.499</td><td>115</td><td>164</td><td>135</td><td>23.5</td><td>0%: 115.0 25%: 124.5 50%: 135.0 75%: 148.0 100%: 164.0</td><td>0%: 115.0 20%: 122.4 40%: 130.8 60%: 140.2 80%: 150.8 100%: 164.0</td><td>136.73</td><td>17.554</td><td>3: 143.02</td></tr> -<tr><td>test50x</td><td>50</td><td>0</td><td>125.5</td><td>212.5</td><td>14.577</td><td>101</td><td>150</td><td>125.5</td><td>24.5</td><td>0%: 101.00 25%: 113.25 50%: 125.50 75%: 137.75 100%: 150.00</td><td>0%: 101.0 20%: 110.8 40%: 120.6 60%: 130.4 80%: 140.2 100%: 150.0</td><td>125.5</td><td>18.285</td><td>3: 138.26</td></tr> +<tr><td>weight </td><td>15</td><td>0</td><td>136.73</td><td>240.21</td><td>15.499</td><td>115</td><td>164</td><td>135.0</td><td>23.5</td><td>0%: 115.0 25%: 124.5 50%: 135.0 75%: 148.0 100%: 164.0 </td><td>0%: 115.0 20%: 122.4 40%: 130.8 60%: 140.2 80%: 150.8 100%: 164.0</td><td>136.73</td><td>17.554</td><td>3: 143.02</td></tr> +<tr><td>test50x</td><td>50</td><td>0</td><td>125.50</td><td>212.50</td><td>14.577</td><td>101</td><td>150</td><td>125.5</td><td>24.5</td><td>0%: 101.00 25%: 113.25 50%: 125.50 75%: 137.75 100%: 150.00</td><td>0%: 101.0 20%: 110.8 40%: 120.6 60%: 130.4 80%: 140.2 100%: 150.0</td><td>125.50</td><td>18.285</td><td>3: 138.26</td></tr> </table> diff --git a/tests/analysis_plugins/basic_statistics_b.rkout b/tests/analysis_plugins/basic_statistics_b.rkout index 802b742..21542b6 100644 --- a/tests/analysis_plugins/basic_statistics_b.rkout +++ b/tests/analysis_plugins/basic_statistics_b.rkout @@ -6,5 +6,5 @@ DATE<br /> <table border="1"> <tr><td>Variable Name</td><td>Minimum values</td><td>Maximum values</td></tr> <tr><td>test10x</td><td>101 102</td><td>110 109 108</td></tr> -<tr><td>height</td><td>58 59</td><td>72 71 70</td></tr> +<tr><td>height </td><td>58 59 </td><td>72 71 70 </td></tr> </table> diff --git a/tests/analysis_plugins/bonett_test.rkout b/tests/analysis_plugins/bonett_test.rkout index b506e9f..4bb10eb 100644 --- a/tests/analysis_plugins/bonett_test.rkout +++ b/tests/analysis_plugins/bonett_test.rkout @@ -5,10 +5,10 @@ DATE<br /> <table border="1"> <tr><td>Variable Name</td><td>Kurtosis estimator (tau)</td><td>Transformation (z)</td><td>p-value</td><td>Alternative Hypothesis</td><td>Length</td><td>NAs</td></tr> -<tr><td>test50z</td><td>50</td><td>-2.2224</td><td>0.026254</td><td>kurtosis is not equal to sqrt(2/pi)</td><td>50</td><td>0</td></tr> +<tr><td>test50z</td><td>50.0</td><td>-2.2224</td><td>0.026254</td><td>kurtosis is not equal to sqrt(2/pi)</td><td>50</td><td>0</td></tr> <tr><td>test50y</td><td>12.5</td><td>-2.2224</td><td>0.026254</td><td>kurtosis is not equal to sqrt(2/pi)</td><td>50</td><td>0</td></tr> <tr><td>test50x</td><td>12.5</td><td>-2.2224</td><td>0.026254</td><td>kurtosis is not equal to sqrt(2/pi)</td><td>50</td><td>0</td></tr> -<tr><td>test10z</td><td>10</td><td>-1.1304</td><td>0.25832</td><td>kurtosis is not equal to sqrt(2/pi)</td><td>11</td><td>1</td></tr> -<tr><td>test10y</td><td>2.5</td><td>-1.1304</td><td>0.25832</td><td>kurtosis is not equal to sqrt(2/pi)</td><td>11</td><td>1</td></tr> -<tr><td>test10x</td><td>2.5</td><td>-1.1304</td><td>0.25832</td><td>kurtosis is not equal to sqrt(2/pi)</td><td>11</td><td>1</td></tr> +<tr><td>test10z</td><td>10.0</td><td>-1.1304</td><td>0.258320</td><td>kurtosis is not equal to sqrt(2/pi)</td><td>11</td><td>1</td></tr> +<tr><td>test10y</td><td> 2.5</td><td>-1.1304</td><td>0.258320</td><td>kurtosis is not equal to sqrt(2/pi)</td><td>11</td><td>1</td></tr> +<tr><td>test10x</td><td> 2.5</td><td>-1.1304</td><td>0.258320</td><td>kurtosis is not equal to sqrt(2/pi)</td><td>11</td><td>1</td></tr> </table> diff --git a/tests/analysis_plugins/box_test.rkout b/tests/analysis_plugins/box_test.rkout index 36856c6..074e0f1 100644 --- a/tests/analysis_plugins/box_test.rkout +++ b/tests/analysis_plugins/box_test.rkout @@ -7,5 +7,5 @@ DATE<br /> <table border="1"> <tr><td>Variable Name</td><td>Length</td><td>NAs</td><td>X-squared</td><td>degrees of freedom</td><td>p-value</td></tr> <tr><td>test50x</td><td>50</td><td>0</td><td>44.18</td><td>1</td><td>2.9953e-11</td></tr> -<tr><td>test10y</td><td>11</td><td>1</td><td>4.9</td><td>1</td><td>0.026857</td></tr> +<tr><td>test10y</td><td>11</td><td>1</td><td> 4.90</td><td>1</td><td>2.6857e-02</td></tr> </table> diff --git a/tests/analysis_plugins/chisq_out_test.rkout b/tests/analysis_plugins/chisq_out_test.rkout index 1fb9db7..81a8bf6 100644 --- a/tests/analysis_plugins/chisq_out_test.rkout +++ b/tests/analysis_plugins/chisq_out_test.rkout @@ -5,10 +5,10 @@ DATE<br /> <table border="1"> <tr><td>Variable Name</td><td>Length</td><td>NAs</td><td>X-squared</td><td>p-value</td><td>Alternative Hypothesis</td><td>Variance</td><td>Mean</td><td>Standard Deviation</td><td>Median</td><td>Minimum</td><td>Maximum</td></tr> -<tr><td>shape</td><td>48</td><td>0</td><td>8.6813</td><td>0.0032149</td><td>highest value 0.464125 is an outlier</td><td>0.0069717</td><td>0.21811</td><td>0.083496</td><td>0.19886</td><td>0.09033</td><td>0.46413</td></tr> -<tr><td>perm</td><td>48</td><td>0</td><td>4.0819</td><td>0.043346</td><td>highest value 1300 is an outlier</td><td>191685</td><td>415.45</td><td>437.82</td><td>130.5</td><td>6.3</td><td>1300</td></tr> -<tr><td>peri</td><td>48</td><td>0</td><td>2.7487</td><td>0.097335</td><td>lowest value 308.642 is an outlier</td><td>2049654</td><td>2682.2</td><td>1431.7</td><td>2536.2</td><td>308.64</td><td>4864.2</td></tr> -<tr><td>area</td><td>48</td><td>0</td><td>5.2881</td><td>0.021472</td><td>lowest value 1016 is an outlier</td><td>7203045</td><td>7187.7</td><td>2683.8</td><td>7487</td><td>1016</td><td>12212</td></tr> +<tr><td>shape</td><td>48</td><td>0</td><td>8.6813</td><td>0.0032149</td><td>highest value 0.464125 is an outlier</td><td>6.9717e-03</td><td> 0.21811</td><td>8.3496e-02</td><td> 0.19886</td><td> 0.09033</td><td>4.6413e-01</td></tr> +<tr><td>perm </td><td>48</td><td>0</td><td>4.0819</td><td>0.0433462</td><td>highest value 1300 is an outlier </td><td>1.9168e+05</td><td> 415.45000</td><td>4.3782e+02</td><td> 130.50000</td><td> 6.30000</td><td>1.3000e+03</td></tr> +<tr><td>peri </td><td>48</td><td>0</td><td>2.7487</td><td>0.0973350</td><td>lowest value 308.642 is an outlier </td><td>2.0497e+06</td><td>2682.21194</td><td>1.4317e+03</td><td>2536.19500</td><td> 308.64200</td><td>4.8642e+03</td></tr> +<tr><td>area </td><td>48</td><td>0</td><td>5.2881</td><td>0.0214719</td><td>lowest value 1016 is an outlier </td><td>7.2030e+06</td><td>7187.72917</td><td>2.6838e+03</td><td>7487.00000</td><td>1016.00000</td><td>1.2212e+04</td></tr> </table> <h1>Chi-squared test for outlier</h1> <h2>Parameters</h2> @@ -17,8 +17,8 @@ DATE<br /> DATE<br /> <table border="1"> <tr><td>Variable Name</td><td>X-squared</td><td>p-value</td><td>Alternative Hypothesis</td><td>Variance</td></tr> -<tr><td>shape</td><td>2.342</td><td>0.12592</td><td>lowest value 0.0903296 is an outlier</td><td>0.0069717</td></tr> -<tr><td>perm</td><td>0.87333</td><td>0.35004</td><td>lowest value 6.3 is an outlier</td><td>191685</td></tr> -<tr><td>peri</td><td>2.3229</td><td>0.12748</td><td>highest value 4864.22 is an outlier</td><td>2049654</td></tr> -<tr><td>area</td><td>3.5045</td><td>0.061201</td><td>highest value 12212 is an outlier</td><td>7203045</td></tr> +<tr><td>shape</td><td>2.34205</td><td>0.125924</td><td>lowest value 0.0903296 is an outlier</td><td>6.9717e-03</td></tr> +<tr><td>perm </td><td>0.87333</td><td>0.350036</td><td>lowest value 6.3 is an outlier </td><td>1.9168e+05</td></tr> +<tr><td>peri </td><td>2.32291</td><td>0.127481</td><td>highest value 4864.22 is an outlier </td><td>2.0497e+06</td></tr> +<tr><td>area </td><td>3.50453</td><td>0.061201</td><td>highest value 12212 is an outlier </td><td>7.2030e+06</td></tr> </table> diff --git a/tests/analysis_plugins/correlation_matrix.rkout b/tests/analysis_plugins/correlation_matrix.rkout index 0ecd166..c5731f4 100644 --- a/tests/analysis_plugins/correlation_matrix.rkout +++ b/tests/analysis_plugins/correlation_matrix.rkout @@ -14,8 +14,8 @@ DATE<br /> <br /> <table border="1"> <tr><td>n \ p</td><td>test50x</td><td>test50y</td><td>test50z</td></tr> -<tr><td>test50x</td><td>NA</td><td>0</td><td>0</td></tr> -<tr><td>test50y</td><td>50</td><td>NA</td><td>0</td></tr> +<tr><td>test50x</td><td>NA</td><td> 0</td><td> 0</td></tr> +<tr><td>test50y</td><td>50</td><td>NA</td><td> 0</td></tr> <tr><td>test50z</td><td>50</td><td>50</td><td>NA</td></tr> </table> <h1>Correlation Matrix</h1> @@ -26,8 +26,8 @@ DATE<br /> DATE<br /> <table border="1"> <tr><td>Coefficient</td><td>test10y</td><td>test10a</td></tr> -<tr><td>test10y</td><td>NA</td><td>0.60718</td></tr> -<tr><td>test10a</td><td>0.60718</td><td>NA</td></tr> +<tr><td>test10y</td><td> NA</td><td>0.60718</td></tr> +<tr><td>test10a</td><td>0.60718</td><td> NA</td></tr> </table> <h1>Correlation Matrix</h1> <h2>Parameters</h2> @@ -37,6 +37,6 @@ DATE<br /> DATE<br /> <table border="1"> <tr><td>Coefficient</td><td>weight</td><td>height</td></tr> -<tr><td>weight</td><td>1</td><td>0.99549</td></tr> -<tr><td>height</td><td>0.99549</td><td>1</td></tr> +<tr><td>weight</td><td>1.00000</td><td>0.99549</td></tr> +<tr><td>height</td><td>0.99549</td><td>1.00000</td></tr> </table> diff --git a/tests/analysis_plugins/correlation_matrix_plot.rkcommands.R b/tests/analysis_plugins/correlation_matrix_plot.rkcommands.R index 90b98e1..d00ce31 100644 --- a/tests/analysis_plugins/correlation_matrix_plot.rkcommands.R +++ b/tests/analysis_plugins/correlation_matrix_plot.rkcommands.R @@ -23,7 +23,10 @@ cor.graph <- function(x) { ## Print result data <- data.frame (rock) -rk.header ("Correlation Matrix Plot", parameters=list ("Method", "pearson", "Exclusion", "pairwise.complete.obs", "Precision", "3 digits", "Scale text", "TRUE")) +rk.header ("Correlation Matrix Plot", parameters=list("Method"="Pearson", + "Exclude missing values"="pairwise", + "Precision (digits)"="3", + "Scale text"="yes")) rk.graph.on () try ({ diff --git a/tests/analysis_plugins/correlation_matrix_plot.rkout b/tests/analysis_plugins/correlation_matrix_plot.rkout index 575c73b..32b5dc0 100644 --- a/tests/analysis_plugins/correlation_matrix_plot.rkout +++ b/tests/analysis_plugins/correlation_matrix_plot.rkout @@ -1,9 +1,9 @@ <h1>Correlation Matrix Plot</h1> <h2>Parameters</h2> -<ul><li>Method: pearson</li> -<li>Exclusion: pairwise.complete.obs</li> -<li>Precision: 3 digits</li> -<li>Scale text: TRUE</li> +<ul><li>Method: Pearson</li> +<li>Exclude missing values: pairwise</li> +<li>Precision (digits): 3</li> +<li>Scale text: yes</li> </ul> DATE<br /> <img src="graph.png" width="480" height="480"><br> diff --git a/tests/analysis_plugins/crosstab_n_to_1.rkout b/tests/analysis_plugins/crosstab_n_to_1.rkout index 3bc4557..56cfac1 100644 --- a/tests/analysis_plugins/crosstab_n_to_1.rkout +++ b/tests/analysis_plugins/crosstab_n_to_1.rkout @@ -41,9 +41,9 @@ DATE<br /> <br /> <table border="1"> <tr><td></td><td>tension = L</td><td>tension = M</td><td>tension = H</td></tr> -<tr><td>tension = L</td><td>18</td><td>0</td><td>0</td></tr> -<tr><td>tension = M</td><td>0</td><td>18</td><td>0</td></tr> -<tr><td>tension = H</td><td>0</td><td>0</td><td>18</td></tr> +<tr><td>tension = L</td><td>18</td><td> 0</td><td> 0</td></tr> +<tr><td>tension = M</td><td> 0</td><td>18</td><td> 0</td></tr> +<tr><td>tension = H</td><td> 0</td><td> 0</td><td>18</td></tr> </table> <h2>Pearson's Chi Square Test for Crosstabs</h2> <h3>Parameters</h3> diff --git a/tests/analysis_plugins/descriptive_stats.rkout b/tests/analysis_plugins/descriptive_stats.rkout index c6f73c8..e12650c 100644 --- a/tests/analysis_plugins/descriptive_stats.rkout +++ b/tests/analysis_plugins/descriptive_stats.rkout @@ -11,6 +11,6 @@ DATE<br /> <br /> <table border="1"> <tr><td>Object</td><td>mean</td><td>median</td><td>min</td><td>max</td><td>standard deviation</td><td>sum</td><td>product</td><td>Median Absolute Deviation</td><td>length of sample</td><td>number of NAs</td></tr> -<tr><td>height</td><td>65</td><td>65</td><td>58</td><td>72</td><td>4.4721</td><td>975</td><td>1.511e+27</td><td>5.8512</td><td>15</td><td>0</td></tr> -<tr><td>test10z</td><td>22</td><td>22</td><td>4</td><td>40</td><td>12.111</td><td>220</td><td>3.8051e+12</td><td>14.628</td><td>11</td><td>1</td></tr> +<tr><td>height </td><td>65</td><td>65</td><td>58</td><td>72</td><td> 4.4721</td><td>975</td><td>1.5110e+27</td><td> 5.8512</td><td>15</td><td>0</td></tr> +<tr><td>test10z</td><td>22</td><td>22</td><td> 4</td><td>40</td><td>12.1106</td><td>220</td><td>3.8051e+12</td><td>14.6280</td><td>11</td><td>1</td></tr> </table> diff --git a/tests/analysis_plugins/dixon_test.rkout b/tests/analysis_plugins/dixon_test.rkout index 84b613d..6de95ca 100644 --- a/tests/analysis_plugins/dixon_test.rkout +++ b/tests/analysis_plugins/dixon_test.rkout @@ -7,8 +7,8 @@ DATE<br /> <table border="1"> <tr><td>Variable Name</td><td>Length</td><td>NAs</td><td>Dixon Q-statistic</td><td>p-value</td><td>Alternative Hypothesis</td><td>Mean</td><td>Standard Deviation</td><td>Median</td><td>Minimum</td><td>Maximum</td></tr> -<tr><td>weight</td><td>15</td><td>0</td><td>0.22727</td><td>0.76454</td><td>highest value 164 is an outlier</td><td>136.73</td><td>15.499</td><td>135</td><td>115</td><td>164</td></tr> -<tr><td>height</td><td>15</td><td>0</td><td>0.16667</td><td>0.4514</td><td>highest value 72 is an outlier</td><td>65</td><td>4.4721</td><td>65</td><td>58</td><td>72</td></tr> +<tr><td>weight</td><td>15</td><td>0</td><td>0.22727</td><td>0.76454</td><td>highest value 164 is an outlier</td><td>136.73</td><td>15.4987</td><td>135</td><td>115</td><td>164</td></tr> +<tr><td>height</td><td>15</td><td>0</td><td>0.16667</td><td>0.45140</td><td>highest value 72 is an outlier </td><td> 65.00</td><td> 4.4721</td><td> 65</td><td> 58</td><td> 72</td></tr> </table> <h1>Dixon test for outlier</h1> <h2>Parameters</h2> @@ -20,5 +20,5 @@ DATE<br /> <table border="1"> <tr><td>Variable Name</td><td>Dixon Q-statistic</td><td>p-value</td><td>Alternative Hypothesis</td></tr> <tr><td>weight</td><td>0.12821</td><td>0.86257</td><td>lowest value 115 is an outlier</td></tr> -<tr><td>height</td><td>0.16667</td><td>0.7743</td><td>lowest value 58 is an outlier</td></tr> +<tr><td>height</td><td>0.16667</td><td>0.77430</td><td>lowest value 58 is an outlier </td></tr> </table> diff --git a/tests/analysis_plugins/grubbs_test.rkout b/tests/analysis_plugins/grubbs_test.rkout index 65c998a..a711a78 100644 --- a/tests/analysis_plugins/grubbs_test.rkout +++ b/tests/analysis_plugins/grubbs_test.rkout @@ -7,8 +7,8 @@ DATE<br /> <table border="1"> <tr><td>Variable Name</td><td>Length</td><td>NAs</td><td>G</td><td>U</td><td>p-value</td><td>Alternative Hypothesis</td></tr> -<tr><td>breaks</td><td>54</td><td>0</td><td>3.1709</td><td>0.80671</td><td>0.047523</td><td>highest value 70 is an outlier</td></tr> -<tr><td>test10z</td><td>11</td><td>1</td><td>1.4863</td><td>0.72727</td><td>0.78497</td><td>highest value 40 is an outlier</td></tr> +<tr><td>breaks </td><td>54</td><td>0</td><td>3.1709</td><td>0.80671</td><td>0.047523</td><td>highest value 70 is an outlier</td></tr> +<tr><td>test10z</td><td>11</td><td>1</td><td>1.4863</td><td>0.72727</td><td>0.784971</td><td>highest value 40 is an outlier</td></tr> </table> <h1>Grubbs tests for one or two outliers in data sample</h1> <h2>Parameters</h2> @@ -19,6 +19,6 @@ DATE<br /> DATE<br /> <table border="1"> <tr><td>Variable Name</td><td>Length</td><td>NAs</td><td>G</td><td>U</td><td>p-value</td><td>Alternative Hypothesis</td><td>Mean</td><td>Standard Deviation</td><td>Median</td><td>Minimum</td><td>Maximum</td></tr> -<tr><td>breaks</td><td>54</td><td>0</td><td>4.5459</td><td>0.77345</td><td>1</td><td>10 and 70 are outliers</td><td>28.148</td><td>13.199</td><td>26</td><td>10</td><td>70</td></tr> -<tr><td>test10z</td><td>11</td><td>1</td><td>2.9726</td><td>0.50909</td><td>1</td><td>4 and 40 are outliers</td><td>22</td><td>12.111</td><td>22</td><td>4</td><td>40</td></tr> +<tr><td>breaks </td><td>54</td><td>0</td><td>4.5459</td><td>0.77345</td><td>1</td><td>10 and 70 are outliers</td><td>28.148</td><td>13.199</td><td>26</td><td>10</td><td>70</td></tr> +<tr><td>test10z</td><td>11</td><td>1</td><td>2.9726</td><td>0.50909</td><td>1</td><td>4 and 40 are outliers </td><td>22.000</td><td>12.111</td><td>22</td><td> 4</td><td>40</td></tr> </table> diff --git a/tests/analysis_plugins/moments_moment.rkout b/tests/analysis_plugins/moments_moment.rkout index 4f88833..0243b2f 100644 --- a/tests/analysis_plugins/moments_moment.rkout +++ b/tests/analysis_plugins/moments_moment.rkout @@ -8,10 +8,10 @@ DATE<br /> <table border="1"> <tr><td>Variable Name</td><td>Moment</td></tr> -<tr><td>test50z</td><td>102</td></tr> +<tr><td>test50z</td><td>102.0</td></tr> <tr><td>test50y</td><td>225.5</td></tr> <tr><td>test50x</td><td>125.5</td></tr> -<tr><td>test10z</td><td>22</td></tr> +<tr><td>test10z</td><td> 22.0</td></tr> <tr><td>test10y</td><td>205.5</td></tr> <tr><td>test10x</td><td>105.5</td></tr> </table> diff --git a/tests/analysis_plugins/outlier.rkout b/tests/analysis_plugins/outlier.rkout index b2857db..b1cfd3d 100644 --- a/tests/analysis_plugins/outlier.rkout +++ b/tests/analysis_plugins/outlier.rkout @@ -5,7 +5,7 @@ DATE<br /> <table border="1"> <tr><td>Variable Name</td><td>Length</td><td>NAs</td><td>Outlier</td></tr> -<tr><td>breaks</td><td>54</td><td>0</td><td>70</td></tr> +<tr><td>breaks </td><td>54</td><td>0</td><td> 70</td></tr> <tr><td>test50z</td><td>50</td><td>0</td><td>200</td></tr> </table> <h1>Find potential outlier</h1> @@ -15,6 +15,6 @@ DATE<br /> DATE<br /> <table border="1"> <tr><td>Variable Name</td><td>Outlier</td><td>Mean</td><td>Standard Deviation</td><td>Median</td><td>Minimum</td><td>Maximum</td></tr> -<tr><td>breaks</td><td>10</td><td>28.148</td><td>13.199</td><td>26</td><td>10</td><td>70</td></tr> -<tr><td>test50z</td><td>4</td><td>102</td><td>58.31</td><td>102</td><td>4</td><td>200</td></tr> +<tr><td>breaks </td><td>10</td><td> 28.148</td><td>13.199</td><td> 26</td><td>10</td><td> 70</td></tr> +<tr><td>test50z</td><td> 4</td><td>102.000</td><td>58.310</td><td>102</td><td> 4</td><td>200</td></tr> </table> diff --git a/tests/analysis_plugins/power_analysis.rkout b/tests/analysis_plugins/power_analysis.rkout index 8dd4c62..6e9c2d8 100644 --- a/tests/analysis_plugins/power_analysis.rkout +++ b/tests/analysis_plugins/power_analysis.rkout @@ -6,10 +6,10 @@ DATE<br /> <table border="1"> <tr><td></td><td>Parameters</td></tr> -<tr><td>n</td><td>30</td></tr> -<tr><td>d</td><td>0.3</td></tr> -<tr><td>sig.level</td><td>0.05</td></tr> -<tr><td>power</td><td>0.20785</td></tr> +<tr><td>n </td><td>30.00000</td></tr> +<tr><td>d </td><td> 0.30000</td></tr> +<tr><td>sig.level</td><td> 0.05000</td></tr> +<tr><td>power </td><td> 0.20785</td></tr> </table> <p class='character'><strong>Note:</strong> n is number in *each* group</p> @@ -27,11 +27,11 @@ DATE<br /> DATE<br /> <table border="1"> <tr><td></td><td>Parameters</td></tr> -<tr><td>n1</td><td>27</td></tr> -<tr><td>n2</td><td>33</td></tr> -<tr><td>d</td><td>0.3</td></tr> -<tr><td>sig.level</td><td>0.05</td></tr> -<tr><td>power</td><td>0.20624</td></tr> +<tr><td>n1 </td><td>27.00000</td></tr> +<tr><td>n2 </td><td>33.00000</td></tr> +<tr><td>d </td><td> 0.30000</td></tr> +<tr><td>sig.level</td><td> 0.05000</td></tr> +<tr><td>power </td><td> 0.20624</td></tr> </table> <p class='character'>Interpretation of effect size <strong>d</strong> (according to Cohen):</p> @@ -47,10 +47,10 @@ DATE<br /> DATE<br /> <table border="1"> <tr><td></td><td>Parameters</td></tr> -<tr><td>n</td><td>86.875</td></tr> -<tr><td>r</td><td>0.3</td></tr> -<tr><td>sig.level</td><td>0.05</td></tr> -<tr><td>power</td><td>0.81</td></tr> +<tr><td>n </td><td>86.875</td></tr> +<tr><td>r </td><td> 0.300</td></tr> +<tr><td>sig.level</td><td> 0.050</td></tr> +<tr><td>power </td><td> 0.810</td></tr> </table> <p class='character'>Interpretation of effect size <strong>r</strong> (according to Cohen):</p> @@ -65,11 +65,11 @@ DATE<br /> DATE<br /> <table border="1"> <tr><td></td><td>Parameters</td></tr> -<tr><td>w</td><td>0.3</td></tr> -<tr><td>N</td><td>30</td></tr> -<tr><td>df</td><td>32</td></tr> -<tr><td>sig.level</td><td>0.71662</td></tr> -<tr><td>power</td><td>0.81</td></tr> +<tr><td>w </td><td> 0.30000</td></tr> +<tr><td>N </td><td>30.00000</td></tr> +<tr><td>df </td><td>32.00000</td></tr> +<tr><td>sig.level</td><td> 0.71662</td></tr> +<tr><td>power </td><td> 0.81000</td></tr> </table> <p class='character'><strong>Note:</strong> N is the number of observations</p> @@ -87,10 +87,10 @@ DATE<br /> DATE<br /> <table border="1"> <tr><td></td><td>Parameters</td></tr> -<tr><td>h</td><td>0.3</td></tr> -<tr><td>n</td><td>30</td></tr> -<tr><td>sig.level</td><td>0.38821</td></tr> -<tr><td>power</td><td>0.81</td></tr> +<tr><td>h </td><td> 0.30000</td></tr> +<tr><td>n </td><td>30.00000</td></tr> +<tr><td>sig.level</td><td> 0.38821</td></tr> +<tr><td>power </td><td> 0.81000</td></tr> </table> <p class='character'><strong>Note:</strong> same sample sizes</p> @@ -108,10 +108,10 @@ DATE<br /> DATE<br /> <table border="1"> <tr><td></td><td>Parameters</td></tr> -<tr><td>d</td><td>0.3</td></tr> -<tr><td>n</td><td>30</td></tr> -<tr><td>sig.level</td><td>0.40906</td></tr> -<tr><td>power</td><td>0.8</td></tr> +<tr><td>d </td><td> 0.30000</td></tr> +<tr><td>n </td><td>30.00000</td></tr> +<tr><td>sig.level</td><td> 0.40906</td></tr> +<tr><td>power </td><td> 0.80000</td></tr> </table> <p class='character'>Interpretation of effect size <strong>d</strong> (according to Cohen):</p> @@ -126,11 +126,11 @@ DATE<br /> DATE<br /> <table border="1"> <tr><td></td><td>Parameters</td></tr> -<tr><td>u</td><td>3.4454</td></tr> -<tr><td>v</td><td>30</td></tr> -<tr><td>f2</td><td>0.3</td></tr> -<tr><td>sig.level</td><td>0.1</td></tr> -<tr><td>power</td><td>0.8</td></tr> +<tr><td>u </td><td> 3.4454</td></tr> +<tr><td>v </td><td>30.0000</td></tr> +<tr><td>f2 </td><td> 0.3000</td></tr> +<tr><td>sig.level</td><td> 0.1000</td></tr> +<tr><td>power </td><td> 0.8000</td></tr> </table> <p class='character'>Interpretation of effect size <strong>f<sup>2</sup></strong> (according to Cohen):</p> diff --git a/tests/analysis_plugins/pp_test.rkout b/tests/analysis_plugins/pp_test.rkout index 63cab64..9ad9942 100644 --- a/tests/analysis_plugins/pp_test.rkout +++ b/tests/analysis_plugins/pp_test.rkout @@ -5,8 +5,8 @@ DATE<br /> <table border="1"> <tr><td>Variable Name</td><td>Length</td><td>NAs</td><td>Dickey-Fuller</td><td>Truncation lag parameter</td><td>p-value</td></tr> -<tr><td>shape</td><td>48</td><td>0</td><td>-8.2621</td><td>9</td><td>0.01</td></tr> -<tr><td>perm</td><td>48</td><td>0</td><td>-2.4302</td><td>9</td><td>0.40232</td></tr> -<tr><td>peri</td><td>48</td><td>0</td><td>-3.4823</td><td>9</td><td>0.054578</td></tr> -<tr><td>area</td><td>48</td><td>0</td><td>-4.0273</td><td>9</td><td>0.01627</td></tr> +<tr><td>shape</td><td>48</td><td>0</td><td>-8.2621</td><td>9</td><td>0.010000</td></tr> +<tr><td>perm </td><td>48</td><td>0</td><td>-2.4302</td><td>9</td><td>0.402316</td></tr> +<tr><td>peri </td><td>48</td><td>0</td><td>-3.4823</td><td>9</td><td>0.054578</td></tr> +<tr><td>area </td><td>48</td><td>0</td><td>-4.0273</td><td>9</td><td>0.016270</td></tr> </table> diff --git a/tests/analysis_plugins/skewness_kurtosis.rkout b/tests/analysis_plugins/skewness_kurtosis.rkout index 2007251..e7559ce 100644 --- a/tests/analysis_plugins/skewness_kurtosis.rkout +++ b/tests/analysis_plugins/skewness_kurtosis.rkout @@ -3,6 +3,6 @@ DATE<br /> <table border="1"> <tr><td>Variable Name</td><td>Skewness</td><td>Kurtosis</td><td>Excess Kurtosis</td><td>Geary Kurtosis</td><td>Length</td><td>NAs</td></tr> <tr><td>weight</td><td>0.25247</td><td>1.9002</td><td>-1.0998</td><td>0.86258</td><td>15</td><td>0</td></tr> -<tr><td>height</td><td>0</td><td>1.7893</td><td>-1.2107</td><td>0.8641</td><td>15</td><td>0</td></tr> -<tr><td>breaks</td><td>1.272</td><td>4.499</td><td>1.499</td><td>0.75029</td><td>54</td><td>0</td></tr> +<tr><td>height</td><td>0.00000</td><td>1.7893</td><td>-1.2107</td><td>0.86410</td><td>15</td><td>0</td></tr> +<tr><td>breaks</td><td>1.27196</td><td>4.4990</td><td> 1.4990</td><td>0.75029</td><td>54</td><td>0</td></tr> </table> diff --git a/tests/plots/barplot.rkcommands.R b/tests/plots/barplot.rkcommands.R index 980e64f..e037b1d 100644 --- a/tests/plots/barplot.rkcommands.R +++ b/tests/plots/barplot.rkcommands.R @@ -1,7 +1,7 @@ local({ ## Print result x <- swiss[["Catholic"]] -# barplot is a bit picky about attributes, so we need to convert to vector explicitely +# barplot is a bit picky about attributes, so we need to convert to vector explicitly if(!is.matrix(x)) x <- as.vector(x) if(!is.matrix(x) && is.data.frame(x)) x <- data.matrix(x) names(x) <- rownames (swiss) @@ -21,7 +21,7 @@ rk.graph.off () local({ ## Print result x <- test_table -# barplot is a bit picky about attributes, so we need to convert to vector explicitely +# barplot is a bit picky about attributes, so we need to convert to vector explicitly if(!is.matrix(x)) x <- as.vector(x) if(!is.matrix(x) && is.data.frame(x)) x <- data.matrix(x) rk.header ("Barplot", parameters=list ("Variable"=rk.get.description (test_table), "colors"="default", "Type"="stacked", "Legend"="TRUE")) diff --git a/tests/plots/pareto_chart.rkout b/tests/plots/pareto_chart.rkout index 426bc56..a19710c 100644 --- a/tests/plots/pareto_chart.rkout +++ b/tests/plots/pareto_chart.rkout @@ -6,16 +6,16 @@ DATE<br /> <img src="graph.png" width="480" height="480"><br><table border="1"> <tr><td></td><td>Frequency</td><td>Cum.Freq.</td><td>Percentage</td><td>Cum.Percent.</td></tr> -<tr><td>A</td><td>53</td><td>53</td><td>21.116</td><td>21.116</td></tr> -<tr><td>B</td><td>32</td><td>85</td><td>12.749</td><td>33.865</td></tr> -<tr><td>C</td><td>29</td><td>114</td><td>11.554</td><td>45.418</td></tr> -<tr><td>D</td><td>29</td><td>143</td><td>11.554</td><td>56.972</td></tr> -<tr><td>E</td><td>28</td><td>171</td><td>11.155</td><td>68.127</td></tr> -<tr><td>F</td><td>20</td><td>191</td><td>7.9681</td><td>76.096</td></tr> -<tr><td>G</td><td>19</td><td>210</td><td>7.5697</td><td>83.665</td></tr> -<tr><td>H</td><td>15</td><td>225</td><td>5.9761</td><td>89.641</td></tr> -<tr><td>I</td><td>13</td><td>238</td><td>5.1793</td><td>94.821</td></tr> -<tr><td>J</td><td>13</td><td>251</td><td>5.1793</td><td>100</td></tr> +<tr><td>A</td><td>53</td><td> 53</td><td>21.1155</td><td> 21.116</td></tr> +<tr><td>B</td><td>32</td><td> 85</td><td>12.7490</td><td> 33.865</td></tr> +<tr><td>C</td><td>29</td><td>114</td><td>11.5538</td><td> 45.418</td></tr> +<tr><td>D</td><td>29</td><td>143</td><td>11.5538</td><td> 56.972</td></tr> +<tr><td>E</td><td>28</td><td>171</td><td>11.1554</td><td> 68.127</td></tr> +<tr><td>F</td><td>20</td><td>191</td><td> 7.9681</td><td> 76.096</td></tr> +<tr><td>G</td><td>19</td><td>210</td><td> 7.5697</td><td> 83.665</td></tr> +<tr><td>H</td><td>15</td><td>225</td><td> 5.9761</td><td> 89.641</td></tr> +<tr><td>I</td><td>13</td><td>238</td><td> 5.1793</td><td> 94.821</td></tr> +<tr><td>J</td><td>13</td><td>251</td><td> 5.1793</td><td>100.000</td></tr> </table> <h1>Pareto chart</h1> @@ -26,11 +26,11 @@ DATE<br /> DATE<br /> <img src="graph.png" width="480" height="480"><br><table border="1"> <tr><td></td><td>Frequency</td><td>Cum.Freq.</td><td>Percentage</td><td>Cum.Percent.</td></tr> -<tr><td>A.L</td><td>401</td><td>401</td><td>26.382</td><td>26.382</td></tr> -<tr><td>B.M</td><td>259</td><td>660</td><td>17.039</td><td>43.421</td></tr> -<tr><td>B.L</td><td>254</td><td>914</td><td>16.711</td><td>60.132</td></tr> -<tr><td>A.H</td><td>221</td><td>1135</td><td>14.539</td><td>74.671</td></tr> -<tr><td>A.M</td><td>216</td><td>1351</td><td>14.211</td><td>88.882</td></tr> -<tr><td>B.H</td><td>169</td><td>1520</td><td>11.118</td><td>100</td></tr> +<tr><td>A.L</td><td>401</td><td> 401</td><td>26.382</td><td> 26.382</td></tr> +<tr><td>B.M</td><td>259</td><td> 660</td><td>17.039</td><td> 43.421</td></tr> +<tr><td>B.L</td><td>254</td><td> 914</td><td>16.711</td><td> 60.132</td></tr> +<tr><td>A.H</td><td>221</td><td>1135</td><td>14.539</td><td> 74.671</td></tr> +<tr><td>A.M</td><td>216</td><td>1351</td><td>14.211</td><td> 88.882</td></tr> +<tr><td>B.H</td><td>169</td><td>1520</td><td>11.118</td><td>100.000</td></tr> </table> |