1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 23:21:56 +02:00

website update

This commit is contained in:
2018-12-31 14:30:06 +01:00
parent 154fec27dd
commit 4255707cb7
28 changed files with 64036 additions and 613 deletions

View File

@ -270,8 +270,7 @@
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><span class='co'># NOT RUN {</span>
<span class='co'># = EXAMPLE 1 =</span>
<pre class="examples"><div class='input'><span class='co'># = EXAMPLE 1 =</span>
<span class='co'># Shivrain et al. (2006) crossed clearfield rice (which are resistant</span>
<span class='co'># to the herbicide imazethapyr) with red rice (which are susceptible to</span>
<span class='co'># imazethapyr). They then crossed the hybrid offspring and examined the</span>
@ -297,13 +296,17 @@
<span class='co'># observed 1752 right-billed and 1895 left-billed crossbills.</span>
<span class='no'>x</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/c'>c</a></span>(<span class='fl'>1752</span>, <span class='fl'>1895</span>)
<span class='fu'>g.test</span>(<span class='no'>x</span>)
<span class='co'># p = 0.01787343</span>
<span class='fu'>g.test</span>(<span class='no'>x</span>)</div><div class='output co'>#&gt;
#&gt; G-test of goodness-of-fit (likelihood ratio test)
#&gt;
#&gt; data: x
#&gt; X-squared = 5.6085, df = 1, p-value = 0.01787
#&gt; </div><div class='input'># p = 0.01787343
<span class='co'># There is a significant difference from a 1:1 ratio.</span>
<span class='co'># Meaning: there are significantly more left-billed birds.</span>
# There is a significant difference from a 1:1 ratio.
# Meaning: there are significantly more left-billed birds.
<span class='co'># }</span></pre>
</div></pre>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>