diff --git a/articles/examples.html b/articles/examples.html index 819b6fa8..d467f367 100644 --- a/articles/examples.html +++ b/articles/examples.html @@ -193,7 +193,7 @@ <h3 id="example-2-3-1">Example 2.3.1<a class="anchor" aria-label="anchor" href=" <span><span class="co"># 1000 permutaions</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">n_permu</span> <span class="op"><-</span> <span class="fl">1000</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> -<span><span class="co">#> [1] 0.186</span></span> +<span><span class="co">#> [1] 0.185</span></span> <span></span> <span><span class="co"># install.packages("microbenchmark")</span></span> <span><span class="fu">microbenchmark</span><span class="fu">::</span><span class="fu"><a href="https://rdrr.io/pkg/microbenchmark/man/microbenchmark.html" class="external-link">microbenchmark</a></span><span class="op">(</span></span> @@ -202,8 +202,8 @@ <h3 id="example-2-3-1">Example 2.3.1<a class="anchor" aria-label="anchor" href=" <span><span class="op">)</span></span> <span><span class="co">#> Unit: milliseconds</span></span> <span><span class="co">#> expr min lq mean median uq max neval</span></span> -<span><span class="co">#> use_all 160.2533 176.23545 195.62292 190.8793 211.07405 349.9865 100</span></span> -<span><span class="co">#> use_1000 12.5120 13.17685 17.30131 13.8761 18.22005 142.0520 100</span></span></code></pre></div> +<span><span class="co">#> use_all 162.4868 187.85775 215.94869 208.2056 239.31255 361.5636 100</span></span> +<span><span class="co">#> use_1000 12.5331 13.38615 16.20805 13.9564 17.89795 27.9793 100</span></span></code></pre></div> </div> <div class="section level3"> <h3 id="example-2-6-1">Example 2.6.1<a class="anchor" aria-label="anchor" href="#example-2-6-1"></a> @@ -305,7 +305,7 @@ <h3 id="example-2-8-3">Example 2.8.3<a class="anchor" aria-label="anchor" href=" <span><span class="va">t</span><span class="op">$</span><span class="va">statistic</span></span> <span><span class="co">#> [1] 0.4</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> -<span><span class="co">#> [1] 0.8744</span></span></code></pre></div> +<span><span class="co">#> [1] 0.8748</span></span></code></pre></div> </div> </div> <div class="section level2"> @@ -337,7 +337,7 @@ <h3 id="example-3-1-1">Example 3.1.1<a class="anchor" aria-label="anchor" href=" <span><span class="va">t</span><span class="op">$</span><span class="va">statistic</span></span> <span><span class="co">#> [1] 11552.89</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> -<span><span class="co">#> [1] 0.048</span></span></code></pre></div> +<span><span class="co">#> [1] 0.036</span></span></code></pre></div> </div> <div class="section level3"> <h3 id="example-3-2-1">Example 3.2.1<a class="anchor" aria-label="anchor" href="#example-3-2-1"></a> @@ -371,7 +371,7 @@ <h3 id="example-3-2-2-3-2-3">Example 3.2.2 & 3.2.3<a class="anchor" aria-lab <span><span class="va">t</span><span class="op">$</span><span class="va">statistic</span></span> <span><span class="co">#> [1] 8.246588</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> -<span><span class="co">#> [1] 0.0105</span></span> +<span><span class="co">#> [1] 0.0085</span></span> <span></span> <span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">type</span> <span class="op"><-</span> <span class="st">"approx"</span></span> @@ -384,7 +384,7 @@ <h3 id="example-3-2-2-3-2-3">Example 3.2.2 & 3.2.3<a class="anchor" aria-lab <span><span class="va">t</span><span class="op">$</span><span class="va">n_permu</span> <span class="op"><-</span> <span class="fl">4000</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">type</span> <span class="op"><-</span> <span class="st">"permu"</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> -<span><span class="co">#> [1] 0.0145</span></span> +<span><span class="co">#> [1] 0.01375</span></span> <span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">type</span> <span class="op"><-</span> <span class="st">"approx"</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> @@ -411,12 +411,12 @@ <h3 id="example-3-3-1">Example 3.3.1<a class="anchor" aria-label="anchor" href=" <span><span class="co">#> scoring: none type: permu method: default </span></span> <span><span class="co">#> </span></span> <span><span class="co">#> i j statistic p_value differ</span></span> -<span><span class="co">#> 1 2 0.02737145 0.9802 FALSE</span></span> -<span><span class="co">#> 1 3 -1.77914406 0.0920 FALSE</span></span> -<span><span class="co">#> 1 4 -3.41048230 0.0032 TRUE</span></span> -<span><span class="co">#> 2 3 -1.80651550 0.0906 FALSE</span></span> -<span><span class="co">#> 2 4 -3.43785375 0.0032 TRUE</span></span> -<span><span class="co">#> 3 4 -1.63133824 0.1188 FALSE</span></span> +<span><span class="co">#> 1 2 0.02737145 0.9766 FALSE</span></span> +<span><span class="co">#> 1 3 -1.77914406 0.0956 FALSE</span></span> +<span><span class="co">#> 1 4 -3.41048230 0.0034 TRUE</span></span> +<span><span class="co">#> 2 3 -1.80651550 0.0864 FALSE</span></span> +<span><span class="co">#> 2 4 -3.43785375 0.0038 TRUE</span></span> +<span><span class="co">#> 3 4 -1.63133824 0.1272 FALSE</span></span> <span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">type</span> <span class="op"><-</span> <span class="st">"approx"</span></span> <span><span class="va">t</span><span class="op">$</span><span class="fu">print</span><span class="op">(</span><span class="op">)</span></span> @@ -469,11 +469,11 @@ <h3 id="example-3-3-1">Example 3.3.1<a class="anchor" aria-label="anchor" href=" <span><span class="co">#> </span></span> <span><span class="co">#> i j statistic p_value differ</span></span> <span><span class="co">#> 1 2 0.03870907 1.0000 FALSE</span></span> -<span><span class="co">#> 1 3 -2.51608965 0.3152 FALSE</span></span> -<span><span class="co">#> 1 4 -4.82315032 0.0184 TRUE</span></span> -<span><span class="co">#> 2 3 -2.55479873 0.3016 FALSE</span></span> -<span><span class="co">#> 2 4 -4.86185939 0.0172 TRUE</span></span> -<span><span class="co">#> 3 4 -2.30706067 0.3882 FALSE</span></span> +<span><span class="co">#> 1 3 -2.51608965 0.3150 FALSE</span></span> +<span><span class="co">#> 1 4 -4.82315032 0.0134 TRUE</span></span> +<span><span class="co">#> 2 3 -2.55479873 0.3044 FALSE</span></span> +<span><span class="co">#> 2 4 -4.86185939 0.0130 TRUE</span></span> +<span><span class="co">#> 3 4 -2.30706067 0.3872 FALSE</span></span> <span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">type</span> <span class="op"><-</span> <span class="st">"approx"</span></span> <span><span class="va">t</span><span class="op">$</span><span class="fu">print</span><span class="op">(</span><span class="op">)</span></span> @@ -524,7 +524,7 @@ <h3 id="example-3-4-1">Example 3.4.1<a class="anchor" aria-label="anchor" href=" <span><span class="va">t</span><span class="op">$</span><span class="va">statistic</span></span> <span><span class="co">#> [1] 145</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> -<span><span class="co">#> [1] 0.032</span></span> +<span><span class="co">#> [1] 0.0305</span></span> <span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">type</span> <span class="op"><-</span> <span class="st">"approx"</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> @@ -553,7 +553,7 @@ <h3 id="table-4-1-1">Table 4.1.1<a class="anchor" aria-label="anchor" href="#tab <span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">n_permu</span> <span class="op"><-</span> <span class="fl">4000</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> -<span><span class="co">#> [1] 0.9475</span></span></code></pre></div> +<span><span class="co">#> [1] 0.94075</span></span></code></pre></div> </div> <div class="section level3"> <h3 id="table-4-1-3">Table 4.1.3<a class="anchor" aria-label="anchor" href="#table-4-1-3"></a> @@ -570,7 +570,7 @@ <h3 id="table-4-1-3">Table 4.1.3<a class="anchor" aria-label="anchor" href="#tab <span><span class="va">t</span><span class="op">$</span><span class="va">statistic</span></span> <span><span class="co">#> [1] -6.647059</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> -<span><span class="co">#> [1] 0.02925</span></span> +<span><span class="co">#> [1] 0.028</span></span> <span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">type</span> <span class="op"><-</span> <span class="st">"approx"</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> @@ -596,7 +596,7 @@ <h3 id="example-4-2-1-4-2-2">Example 4.2.1 & 4.2.2<a class="anchor" aria-lab <span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">n_permu</span> <span class="op"><-</span> <span class="fl">4000</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> -<span><span class="co">#> [1] 0.09125</span></span> +<span><span class="co">#> [1] 0.0985</span></span> <span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">type</span> <span class="op"><-</span> <span class="st">"approx"</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> @@ -624,7 +624,7 @@ <h3 id="table-4-2-3">Table 4.2.3<a class="anchor" aria-label="anchor" href="#tab <span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">n_permu</span> <span class="op"><-</span> <span class="fl">4000</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> -<span><span class="co">#> [1] 0.2645</span></span></code></pre></div> +<span><span class="co">#> [1] 0.243</span></span></code></pre></div> </div> <div class="section level3"> <h3 id="example-4-3-1">Example 4.3.1<a class="anchor" aria-label="anchor" href="#example-4-3-1"></a> @@ -664,7 +664,7 @@ <h3 id="example-4-4-1">Example 4.4.1<a class="anchor" aria-label="anchor" href=" <span><span class="va">t</span><span class="op">$</span><span class="va">statistic</span></span> <span><span class="co">#> [1] 110241.8</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> -<span><span class="co">#> [1] 0.0548</span></span> +<span><span class="co">#> [1] 0.0576</span></span> <span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">type</span> <span class="op"><-</span> <span class="st">"approx"</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">statistic</span></span> @@ -687,7 +687,7 @@ <h3 id="example-4-5-2">Example 4.5.2<a class="anchor" aria-label="anchor" href=" <span><span class="va">t</span><span class="op">$</span><span class="va">statistic</span></span> <span><span class="co">#> [1] 28.33333</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> -<span><span class="co">#> [1] 0.0414</span></span> +<span><span class="co">#> [1] 0.041</span></span> <span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">type</span> <span class="op"><-</span> <span class="st">"approx"</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">statistic</span></span> @@ -710,7 +710,7 @@ <h3 id="example-4-6-1">Example 4.6.1<a class="anchor" aria-label="anchor" href=" <span><span class="va">t</span><span class="op">$</span><span class="va">statistic</span></span> <span><span class="co">#> [1] 134</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> -<span><span class="co">#> [1] 0.011</span></span> +<span><span class="co">#> [1] 0.0142</span></span> <span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">type</span> <span class="op"><-</span> <span class="st">"approx"</span></span> <span><span class="va">t</span><span class="op">$</span><span class="va">p_value</span></span> diff --git a/pkgdown.yml b/pkgdown.yml index b0995173..b6903c12 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -3,5 +3,5 @@ pkgdown: 2.0.7 pkgdown_sha: ~ articles: examples: examples.html -last_built: 2023-09-12T09:04Z +last_built: 2023-09-12T15:57Z