Built site for AMR: 1.8.2.9052@05d536e
2
404.html
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="https://msberends.github.io/AMR/index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="https://msberends.github.io/AMR/index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -168,7 +168,7 @@
|
|||||||
<h4 data-toc-skip class="author">Dr. Matthijs
|
<h4 data-toc-skip class="author">Dr. Matthijs
|
||||||
Berends</h4>
|
Berends</h4>
|
||||||
|
|
||||||
<h4 data-toc-skip class="date">14 November 2022</h4>
|
<h4 data-toc-skip class="date">17 November 2022</h4>
|
||||||
|
|
||||||
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/HEAD/vignettes/AMR.Rmd" class="external-link"><code>vignettes/AMR.Rmd</code></a></small>
|
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/HEAD/vignettes/AMR.Rmd" class="external-link"><code>vignettes/AMR.Rmd</code></a></small>
|
||||||
<div class="d-none name"><code>AMR.Rmd</code></div>
|
<div class="d-none name"><code>AMR.Rmd</code></div>
|
||||||
@ -180,7 +180,7 @@ Berends</h4>
|
|||||||
website update since they are based on randomly created values and the
|
website update since they are based on randomly created values and the
|
||||||
page was written in <a href="https://rmarkdown.rstudio.com/" class="external-link">R
|
page was written in <a href="https://rmarkdown.rstudio.com/" class="external-link">R
|
||||||
Markdown</a>. However, the methodology remains unchanged. This page was
|
Markdown</a>. However, the methodology remains unchanged. This page was
|
||||||
generated on 14 November 2022.</p>
|
generated on 17 November 2022.</p>
|
||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
<h2 id="introduction">Introduction<a class="anchor" aria-label="anchor" href="#introduction"></a>
|
<h2 id="introduction">Introduction<a class="anchor" aria-label="anchor" href="#introduction"></a>
|
||||||
</h2>
|
</h2>
|
||||||
@ -236,21 +236,21 @@ make the structure of your data generally look like this:</p>
|
|||||||
</tr></thead>
|
</tr></thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">2022-11-14</td>
|
<td align="center">2022-11-17</td>
|
||||||
<td align="center">abcd</td>
|
<td align="center">abcd</td>
|
||||||
<td align="center">Escherichia coli</td>
|
<td align="center">Escherichia coli</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="center">2022-11-14</td>
|
<td align="center">2022-11-17</td>
|
||||||
<td align="center">abcd</td>
|
<td align="center">abcd</td>
|
||||||
<td align="center">Escherichia coli</td>
|
<td align="center">Escherichia coli</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">R</td>
|
<td align="center">R</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">2022-11-14</td>
|
<td align="center">2022-11-17</td>
|
||||||
<td align="center">efgh</td>
|
<td align="center">efgh</td>
|
||||||
<td align="center">Escherichia coli</td>
|
<td align="center">Escherichia coli</td>
|
||||||
<td align="center">R</td>
|
<td align="center">R</td>
|
||||||
@ -380,12 +380,12 @@ data set:</p>
|
|||||||
<col width="13%">
|
<col width="13%">
|
||||||
<col width="13%">
|
<col width="13%">
|
||||||
<col width="13%">
|
<col width="13%">
|
||||||
<col width="26%">
|
<col width="28%">
|
||||||
<col width="5%">
|
<col width="5%">
|
||||||
<col width="5%">
|
<col width="5%">
|
||||||
<col width="5%">
|
<col width="5%">
|
||||||
<col width="5%">
|
<col width="5%">
|
||||||
<col width="9%">
|
<col width="8%">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead><tr class="header">
|
<thead><tr class="header">
|
||||||
<th align="center">date</th>
|
<th align="center">date</th>
|
||||||
@ -400,71 +400,71 @@ data set:</p>
|
|||||||
</tr></thead>
|
</tr></thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">2011-09-28</td>
|
<td align="center">2015-12-23</td>
|
||||||
<td align="center">W5</td>
|
<td align="center">L8</td>
|
||||||
<td align="center">Hospital D</td>
|
<td align="center">Hospital D</td>
|
||||||
<td align="center">Escherichia coli</td>
|
<td align="center">Escherichia coli</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">F</td>
|
<td align="center">M</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="center">2013-01-09</td>
|
<td align="center">2014-07-14</td>
|
||||||
<td align="center">A10</td>
|
<td align="center">M7</td>
|
||||||
<td align="center">Hospital A</td>
|
<td align="center">Hospital B</td>
|
||||||
<td align="center">Staphylococcus aureus</td>
|
<td align="center">Escherichia coli</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">I</td>
|
<td align="center">R</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">M</td>
|
<td align="center">M</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">2010-03-15</td>
|
<td align="center">2010-06-02</td>
|
||||||
<td align="center">W2</td>
|
<td align="center">F6</td>
|
||||||
<td align="center">Hospital A</td>
|
<td align="center">Hospital A</td>
|
||||||
|
<td align="center">Staphylococcus aureus</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">M</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="even">
|
||||||
|
<td align="center">2012-05-12</td>
|
||||||
|
<td align="center">A5</td>
|
||||||
|
<td align="center">Hospital C</td>
|
||||||
<td align="center">Escherichia coli</td>
|
<td align="center">Escherichia coli</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">R</td>
|
|
||||||
<td align="center">R</td>
|
|
||||||
<td align="center">F</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td align="center">2010-01-24</td>
|
|
||||||
<td align="center">W4</td>
|
|
||||||
<td align="center">Hospital D</td>
|
|
||||||
<td align="center">Staphylococcus aureus</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">R</td>
|
|
||||||
<td align="center">F</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td align="center">2012-08-18</td>
|
|
||||||
<td align="center">P7</td>
|
|
||||||
<td align="center">Hospital B</td>
|
|
||||||
<td align="center">Staphylococcus aureus</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">F</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td align="center">2010-11-08</td>
|
|
||||||
<td align="center">J2</td>
|
|
||||||
<td align="center">Hospital B</td>
|
|
||||||
<td align="center">Klebsiella pneumoniae</td>
|
|
||||||
<td align="center">R</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">M</td>
|
<td align="center">M</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr class="odd">
|
||||||
|
<td align="center">2016-01-14</td>
|
||||||
|
<td align="center">Q3</td>
|
||||||
|
<td align="center">Hospital D</td>
|
||||||
|
<td align="center">Escherichia coli</td>
|
||||||
|
<td align="center">R</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">F</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="even">
|
||||||
|
<td align="center">2013-02-21</td>
|
||||||
|
<td align="center">X1</td>
|
||||||
|
<td align="center">Hospital D</td>
|
||||||
|
<td align="center">Streptococcus pneumoniae</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">R</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">F</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p>Now, let’s start the cleaning and the analysis!</p>
|
<p>Now, let’s start the cleaning and the analysis!</p>
|
||||||
@ -499,18 +499,18 @@ Longest: 1</p>
|
|||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">1</td>
|
<td align="left">1</td>
|
||||||
<td align="left">M</td>
|
<td align="left">M</td>
|
||||||
<td align="right">10,420</td>
|
<td align="right">10,496</td>
|
||||||
<td align="right">52.1%</td>
|
<td align="right">52.48%</td>
|
||||||
<td align="right">10,420</td>
|
<td align="right">10,496</td>
|
||||||
<td align="right">52.1%</td>
|
<td align="right">52.48%</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">2</td>
|
<td align="left">2</td>
|
||||||
<td align="left">F</td>
|
<td align="left">F</td>
|
||||||
<td align="right">9,580</td>
|
<td align="right">9,504</td>
|
||||||
<td align="right">47.9%</td>
|
<td align="right">47.52%</td>
|
||||||
<td align="right">20,000</td>
|
<td align="right">20,000</td>
|
||||||
<td align="right">100.0%</td>
|
<td align="right">100.00%</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -621,9 +621,9 @@ takes into account the antimicrobial susceptibility test results using
|
|||||||
<span><span class="co"># Basing inclusion on all antimicrobial results, using a points threshold of</span></span>
|
<span><span class="co"># Basing inclusion on all antimicrobial results, using a points threshold of</span></span>
|
||||||
<span><span class="co"># 2</span></span>
|
<span><span class="co"># 2</span></span>
|
||||||
<span><span class="co"># Including isolates from ICU.</span></span>
|
<span><span class="co"># Including isolates from ICU.</span></span>
|
||||||
<span><span class="co"># => Found 10,650 'phenotype-based' first isolates (53.3% of total where a</span></span>
|
<span><span class="co"># => Found 10,612 'phenotype-based' first isolates (53.1% of total where a</span></span>
|
||||||
<span><span class="co"># microbial ID was available)</span></span></code></pre></div>
|
<span><span class="co"># microbial ID was available)</span></span></code></pre></div>
|
||||||
<p>So only 53.3% is suitable for resistance analysis! We can now filter
|
<p>So only 53.1% is suitable for resistance analysis! We can now filter
|
||||||
on it with the <code><a href="https://dplyr.tidyverse.org/reference/filter.html" class="external-link">filter()</a></code> function, also from the
|
on it with the <code><a href="https://dplyr.tidyverse.org/reference/filter.html" class="external-link">filter()</a></code> function, also from the
|
||||||
<code>dplyr</code> package:</p>
|
<code>dplyr</code> package:</p>
|
||||||
<div class="sourceCode" id="cb15"><pre class="downlit sourceCode r">
|
<div class="sourceCode" id="cb15"><pre class="downlit sourceCode r">
|
||||||
@ -634,7 +634,7 @@ on it with the <code><a href="https://dplyr.tidyverse.org/reference/filter.html"
|
|||||||
<code class="sourceCode R"><span><span class="va">data_1st</span> <span class="op"><-</span> <span class="va">data</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span></span>
|
<code class="sourceCode R"><span><span class="va">data_1st</span> <span class="op"><-</span> <span class="va">data</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span></span>
|
||||||
<span> <span class="fu"><a href="../reference/first_isolate.html">filter_first_isolate</a></span><span class="op">(</span><span class="op">)</span></span>
|
<span> <span class="fu"><a href="../reference/first_isolate.html">filter_first_isolate</a></span><span class="op">(</span><span class="op">)</span></span>
|
||||||
<span><span class="co"># Including isolates from ICU.</span></span></code></pre></div>
|
<span><span class="co"># Including isolates from ICU.</span></span></code></pre></div>
|
||||||
<p>So we end up with 10,650 isolates for analysis. Now our data looks
|
<p>So we end up with 10,612 isolates for analysis. Now our data looks
|
||||||
like:</p>
|
like:</p>
|
||||||
<div class="sourceCode" id="cb17"><pre class="downlit sourceCode r">
|
<div class="sourceCode" id="cb17"><pre class="downlit sourceCode r">
|
||||||
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/utils/head.html" class="external-link">head</a></span><span class="op">(</span><span class="va">data_1st</span><span class="op">)</span></span></code></pre></div>
|
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/utils/head.html" class="external-link">head</a></span><span class="op">(</span><span class="va">data_1st</span><span class="op">)</span></span></code></pre></div>
|
||||||
@ -674,8 +674,24 @@ like:</p>
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">2</td>
|
<td align="left">2</td>
|
||||||
<td align="center">2013-01-09</td>
|
<td align="center">2014-07-14</td>
|
||||||
<td align="center">A10</td>
|
<td align="center">M7</td>
|
||||||
|
<td align="center">Hospital B</td>
|
||||||
|
<td align="center">B_ESCHR_COLI</td>
|
||||||
|
<td align="center">R</td>
|
||||||
|
<td align="center">R</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">M</td>
|
||||||
|
<td align="center">Gram-negative</td>
|
||||||
|
<td align="center">Escherichia</td>
|
||||||
|
<td align="center">coli</td>
|
||||||
|
<td align="center">TRUE</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="even">
|
||||||
|
<td align="left">3</td>
|
||||||
|
<td align="center">2010-06-02</td>
|
||||||
|
<td align="center">F6</td>
|
||||||
<td align="center">Hospital A</td>
|
<td align="center">Hospital A</td>
|
||||||
<td align="center">B_STPHY_AURS</td>
|
<td align="center">B_STPHY_AURS</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
@ -688,84 +704,68 @@ like:</p>
|
|||||||
<td align="center">aureus</td>
|
<td align="center">aureus</td>
|
||||||
<td align="center">TRUE</td>
|
<td align="center">TRUE</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="odd">
|
||||||
<td align="left">3</td>
|
<td align="left">7</td>
|
||||||
<td align="center">2010-03-15</td>
|
<td align="center">2013-01-21</td>
|
||||||
<td align="center">W2</td>
|
<td align="center">Z7</td>
|
||||||
<td align="center">Hospital A</td>
|
<td align="center">Hospital A</td>
|
||||||
<td align="center">B_ESCHR_COLI</td>
|
<td align="center">B_ESCHR_COLI</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">R</td>
|
<td align="center">R</td>
|
||||||
<td align="center">R</td>
|
<td align="center">S</td>
|
||||||
<td align="center">F</td>
|
<td align="center">F</td>
|
||||||
<td align="center">Gram-negative</td>
|
<td align="center">Gram-negative</td>
|
||||||
<td align="center">Escherichia</td>
|
<td align="center">Escherichia</td>
|
||||||
<td align="center">coli</td>
|
<td align="center">coli</td>
|
||||||
<td align="center">TRUE</td>
|
<td align="center">TRUE</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="even">
|
||||||
<td align="left">4</td>
|
<td align="left">8</td>
|
||||||
<td align="center">2010-01-24</td>
|
<td align="center">2013-05-01</td>
|
||||||
<td align="center">W4</td>
|
<td align="center">S2</td>
|
||||||
<td align="center">Hospital D</td>
|
<td align="center">Hospital A</td>
|
||||||
<td align="center">B_STPHY_AURS</td>
|
<td align="center">B_STRPT_PNMN</td>
|
||||||
<td align="center">S</td>
|
<td align="center">R</td>
|
||||||
<td align="center">S</td>
|
<td align="center">R</td>
|
||||||
<td align="center">S</td>
|
<td align="center">R</td>
|
||||||
<td align="center">R</td>
|
<td align="center">R</td>
|
||||||
<td align="center">F</td>
|
<td align="center">F</td>
|
||||||
<td align="center">Gram-positive</td>
|
<td align="center">Gram-positive</td>
|
||||||
<td align="center">Staphylococcus</td>
|
<td align="center">Streptococcus</td>
|
||||||
<td align="center">aureus</td>
|
<td align="center">pneumoniae</td>
|
||||||
<td align="center">TRUE</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td align="left">5</td>
|
|
||||||
<td align="center">2012-08-18</td>
|
|
||||||
<td align="center">P7</td>
|
|
||||||
<td align="center">Hospital B</td>
|
|
||||||
<td align="center">B_STPHY_AURS</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">F</td>
|
|
||||||
<td align="center">Gram-positive</td>
|
|
||||||
<td align="center">Staphylococcus</td>
|
|
||||||
<td align="center">aureus</td>
|
|
||||||
<td align="center">TRUE</td>
|
<td align="center">TRUE</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">8</td>
|
<td align="left">12</td>
|
||||||
<td align="center">2012-07-26</td>
|
<td align="center">2016-06-06</td>
|
||||||
<td align="center">J5</td>
|
<td align="center">Q6</td>
|
||||||
<td align="center">Hospital D</td>
|
<td align="center">Hospital D</td>
|
||||||
<td align="center">B_STRPT_PNMN</td>
|
<td align="center">B_STRPT_PNMN</td>
|
||||||
<td align="center">R</td>
|
<td align="center">R</td>
|
||||||
<td align="center">R</td>
|
<td align="center">R</td>
|
||||||
<td align="center">R</td>
|
<td align="center">R</td>
|
||||||
<td align="center">R</td>
|
<td align="center">R</td>
|
||||||
<td align="center">M</td>
|
<td align="center">F</td>
|
||||||
<td align="center">Gram-positive</td>
|
<td align="center">Gram-positive</td>
|
||||||
<td align="center">Streptococcus</td>
|
<td align="center">Streptococcus</td>
|
||||||
<td align="center">pneumoniae</td>
|
<td align="center">pneumoniae</td>
|
||||||
<td align="center">TRUE</td>
|
<td align="center">TRUE</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">9</td>
|
<td align="left">14</td>
|
||||||
<td align="center">2015-03-14</td>
|
<td align="center">2016-01-03</td>
|
||||||
<td align="center">I4</td>
|
<td align="center">N4</td>
|
||||||
<td align="center">Hospital C</td>
|
<td align="center">Hospital A</td>
|
||||||
<td align="center">B_STPHY_AURS</td>
|
<td align="center">B_ESCHR_COLI</td>
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
|
<td align="center">R</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">M</td>
|
<td align="center">M</td>
|
||||||
<td align="center">Gram-positive</td>
|
<td align="center">Gram-negative</td>
|
||||||
<td align="center">Staphylococcus</td>
|
<td align="center">Escherichia</td>
|
||||||
<td align="center">aureus</td>
|
<td align="center">coli</td>
|
||||||
<td align="center">TRUE</td>
|
<td align="center">TRUE</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -801,8 +801,8 @@ readable:</p>
|
|||||||
<code class="sourceCode R"><span><span class="va">data_1st</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span> <span class="fu"><a href="https://msberends.github.io/cleaner/reference/freq.html" class="external-link">freq</a></span><span class="op">(</span><span class="va">genus</span>, <span class="va">species</span><span class="op">)</span></span></code></pre></div>
|
<code class="sourceCode R"><span><span class="va">data_1st</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span> <span class="fu"><a href="https://msberends.github.io/cleaner/reference/freq.html" class="external-link">freq</a></span><span class="op">(</span><span class="va">genus</span>, <span class="va">species</span><span class="op">)</span></span></code></pre></div>
|
||||||
<p><strong>Frequency table</strong></p>
|
<p><strong>Frequency table</strong></p>
|
||||||
<p>Class: character<br>
|
<p>Class: character<br>
|
||||||
Length: 10,650<br>
|
Length: 10,612<br>
|
||||||
Available: 10,650 (100%, NA: 0 = 0%)<br>
|
Available: 10,612 (100%, NA: 0 = 0%)<br>
|
||||||
Unique: 4</p>
|
Unique: 4</p>
|
||||||
<p>Shortest: 16<br>
|
<p>Shortest: 16<br>
|
||||||
Longest: 24</p>
|
Longest: 24</p>
|
||||||
@ -827,33 +827,33 @@ Longest: 24</p>
|
|||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">1</td>
|
<td align="left">1</td>
|
||||||
<td align="left">Escherichia coli</td>
|
<td align="left">Escherichia coli</td>
|
||||||
<td align="right">4,668</td>
|
<td align="right">4,601</td>
|
||||||
<td align="right">43.83%</td>
|
<td align="right">43.36%</td>
|
||||||
<td align="right">4,668</td>
|
<td align="right">4,601</td>
|
||||||
<td align="right">43.83%</td>
|
<td align="right">43.36%</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">2</td>
|
<td align="left">2</td>
|
||||||
<td align="left">Staphylococcus aureus</td>
|
<td align="left">Staphylococcus aureus</td>
|
||||||
<td align="right">2,688</td>
|
<td align="right">2,686</td>
|
||||||
<td align="right">25.24%</td>
|
<td align="right">25.31%</td>
|
||||||
<td align="right">7,356</td>
|
<td align="right">7,287</td>
|
||||||
<td align="right">69.07%</td>
|
<td align="right">68.67%</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">3</td>
|
<td align="left">3</td>
|
||||||
<td align="left">Streptococcus pneumoniae</td>
|
<td align="left">Streptococcus pneumoniae</td>
|
||||||
<td align="right">2,093</td>
|
<td align="right">2,115</td>
|
||||||
<td align="right">19.65%</td>
|
<td align="right">19.93%</td>
|
||||||
<td align="right">9,449</td>
|
<td align="right">9,402</td>
|
||||||
<td align="right">88.72%</td>
|
<td align="right">88.60%</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">4</td>
|
<td align="left">4</td>
|
||||||
<td align="left">Klebsiella pneumoniae</td>
|
<td align="left">Klebsiella pneumoniae</td>
|
||||||
<td align="right">1,201</td>
|
<td align="right">1,210</td>
|
||||||
<td align="right">11.28%</td>
|
<td align="right">11.40%</td>
|
||||||
<td align="right">10,650</td>
|
<td align="right">10,612</td>
|
||||||
<td align="right">100.00%</td>
|
<td align="right">100.00%</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -874,14 +874,14 @@ antibiotic class they are in:</p>
|
|||||||
<col width="9%">
|
<col width="9%">
|
||||||
<col width="9%">
|
<col width="9%">
|
||||||
<col width="9%">
|
<col width="9%">
|
||||||
<col width="10%">
|
<col width="11%">
|
||||||
<col width="3%">
|
<col width="3%">
|
||||||
<col width="3%">
|
<col width="3%">
|
||||||
<col width="3%">
|
<col width="3%">
|
||||||
<col width="3%">
|
<col width="3%">
|
||||||
<col width="6%">
|
<col width="6%">
|
||||||
<col width="11%">
|
<col width="11%">
|
||||||
<col width="12%">
|
<col width="11%">
|
||||||
<col width="9%">
|
<col width="9%">
|
||||||
<col width="5%">
|
<col width="5%">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
@ -902,55 +902,85 @@ antibiotic class they are in:</p>
|
|||||||
</tr></thead>
|
</tr></thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">2010-03-15</td>
|
<td align="center">2013-05-01</td>
|
||||||
<td align="center">W2</td>
|
<td align="center">S2</td>
|
||||||
|
<td align="center">Hospital A</td>
|
||||||
|
<td align="center">B_STRPT_PNMN</td>
|
||||||
|
<td align="center">R</td>
|
||||||
|
<td align="center">R</td>
|
||||||
|
<td align="center">R</td>
|
||||||
|
<td align="center">R</td>
|
||||||
|
<td align="center">F</td>
|
||||||
|
<td align="center">Gram-positive</td>
|
||||||
|
<td align="center">Streptococcus</td>
|
||||||
|
<td align="center">pneumoniae</td>
|
||||||
|
<td align="center">TRUE</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="even">
|
||||||
|
<td align="center">2016-06-06</td>
|
||||||
|
<td align="center">Q6</td>
|
||||||
|
<td align="center">Hospital D</td>
|
||||||
|
<td align="center">B_STRPT_PNMN</td>
|
||||||
|
<td align="center">R</td>
|
||||||
|
<td align="center">R</td>
|
||||||
|
<td align="center">R</td>
|
||||||
|
<td align="center">R</td>
|
||||||
|
<td align="center">F</td>
|
||||||
|
<td align="center">Gram-positive</td>
|
||||||
|
<td align="center">Streptococcus</td>
|
||||||
|
<td align="center">pneumoniae</td>
|
||||||
|
<td align="center">TRUE</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="odd">
|
||||||
|
<td align="center">2014-10-11</td>
|
||||||
|
<td align="center">K4</td>
|
||||||
|
<td align="center">Hospital A</td>
|
||||||
|
<td align="center">B_STRPT_PNMN</td>
|
||||||
|
<td align="center">R</td>
|
||||||
|
<td align="center">R</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">R</td>
|
||||||
|
<td align="center">M</td>
|
||||||
|
<td align="center">Gram-positive</td>
|
||||||
|
<td align="center">Streptococcus</td>
|
||||||
|
<td align="center">pneumoniae</td>
|
||||||
|
<td align="center">TRUE</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="even">
|
||||||
|
<td align="center">2016-09-23</td>
|
||||||
|
<td align="center">P4</td>
|
||||||
|
<td align="center">Hospital D</td>
|
||||||
|
<td align="center">B_ESCHR_COLI</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">R</td>
|
||||||
|
<td align="center">F</td>
|
||||||
|
<td align="center">Gram-negative</td>
|
||||||
|
<td align="center">Escherichia</td>
|
||||||
|
<td align="center">coli</td>
|
||||||
|
<td align="center">TRUE</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="odd">
|
||||||
|
<td align="center">2012-11-13</td>
|
||||||
|
<td align="center">A1</td>
|
||||||
|
<td align="center">Hospital A</td>
|
||||||
|
<td align="center">B_STRPT_PNMN</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">S</td>
|
||||||
|
<td align="center">R</td>
|
||||||
|
<td align="center">M</td>
|
||||||
|
<td align="center">Gram-positive</td>
|
||||||
|
<td align="center">Streptococcus</td>
|
||||||
|
<td align="center">pneumoniae</td>
|
||||||
|
<td align="center">TRUE</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="even">
|
||||||
|
<td align="center">2013-02-15</td>
|
||||||
|
<td align="center">F3</td>
|
||||||
<td align="center">Hospital A</td>
|
<td align="center">Hospital A</td>
|
||||||
<td align="center">B_ESCHR_COLI</td>
|
<td align="center">B_ESCHR_COLI</td>
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">R</td>
|
|
||||||
<td align="center">R</td>
|
|
||||||
<td align="center">F</td>
|
|
||||||
<td align="center">Gram-negative</td>
|
|
||||||
<td align="center">Escherichia</td>
|
|
||||||
<td align="center">coli</td>
|
|
||||||
<td align="center">TRUE</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td align="center">2010-01-24</td>
|
|
||||||
<td align="center">W4</td>
|
|
||||||
<td align="center">Hospital D</td>
|
|
||||||
<td align="center">B_STPHY_AURS</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">R</td>
|
|
||||||
<td align="center">F</td>
|
|
||||||
<td align="center">Gram-positive</td>
|
|
||||||
<td align="center">Staphylococcus</td>
|
|
||||||
<td align="center">aureus</td>
|
|
||||||
<td align="center">TRUE</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td align="center">2012-07-26</td>
|
|
||||||
<td align="center">J5</td>
|
|
||||||
<td align="center">Hospital D</td>
|
|
||||||
<td align="center">B_STRPT_PNMN</td>
|
|
||||||
<td align="center">R</td>
|
|
||||||
<td align="center">R</td>
|
|
||||||
<td align="center">R</td>
|
|
||||||
<td align="center">R</td>
|
|
||||||
<td align="center">M</td>
|
|
||||||
<td align="center">Gram-positive</td>
|
|
||||||
<td align="center">Streptococcus</td>
|
|
||||||
<td align="center">pneumoniae</td>
|
|
||||||
<td align="center">TRUE</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td align="center">2010-02-12</td>
|
|
||||||
<td align="center">E10</td>
|
|
||||||
<td align="center">Hospital D</td>
|
|
||||||
<td align="center">B_ESCHR_COLI</td>
|
|
||||||
<td align="center">R</td>
|
<td align="center">R</td>
|
||||||
<td align="center">R</td>
|
<td align="center">R</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
@ -961,36 +991,6 @@ antibiotic class they are in:</p>
|
|||||||
<td align="center">coli</td>
|
<td align="center">coli</td>
|
||||||
<td align="center">TRUE</td>
|
<td align="center">TRUE</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
|
||||||
<td align="center">2011-12-23</td>
|
|
||||||
<td align="center">R5</td>
|
|
||||||
<td align="center">Hospital B</td>
|
|
||||||
<td align="center">B_STRPT_PNMN</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">R</td>
|
|
||||||
<td align="center">F</td>
|
|
||||||
<td align="center">Gram-positive</td>
|
|
||||||
<td align="center">Streptococcus</td>
|
|
||||||
<td align="center">pneumoniae</td>
|
|
||||||
<td align="center">TRUE</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td align="center">2017-05-04</td>
|
|
||||||
<td align="center">X9</td>
|
|
||||||
<td align="center">Hospital B</td>
|
|
||||||
<td align="center">B_STRPT_PNMN</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">S</td>
|
|
||||||
<td align="center">R</td>
|
|
||||||
<td align="center">F</td>
|
|
||||||
<td align="center">Gram-positive</td>
|
|
||||||
<td align="center">Streptococcus</td>
|
|
||||||
<td align="center">pneumoniae</td>
|
|
||||||
<td align="center">TRUE</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p>If you want to get a quick glance of the number of isolates in
|
<p>If you want to get a quick glance of the number of isolates in
|
||||||
@ -1014,50 +1014,50 @@ different bug/drug combinations, you can use the
|
|||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">E. coli</td>
|
<td align="center">E. coli</td>
|
||||||
<td align="center">AMX</td>
|
<td align="center">AMX</td>
|
||||||
<td align="center">2216</td>
|
<td align="center">2181</td>
|
||||||
<td align="center">123</td>
|
<td align="center">142</td>
|
||||||
<td align="center">2329</td>
|
<td align="center">2278</td>
|
||||||
<td align="center">4668</td>
|
<td align="center">4601</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="center">E. coli</td>
|
<td align="center">E. coli</td>
|
||||||
<td align="center">AMC</td>
|
<td align="center">AMC</td>
|
||||||
<td align="center">3459</td>
|
<td align="center">3411</td>
|
||||||
<td align="center">138</td>
|
<td align="center">174</td>
|
||||||
<td align="center">1071</td>
|
<td align="center">1016</td>
|
||||||
<td align="center">4668</td>
|
<td align="center">4601</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">E. coli</td>
|
<td align="center">E. coli</td>
|
||||||
<td align="center">CIP</td>
|
<td align="center">CIP</td>
|
||||||
<td align="center">3368</td>
|
<td align="center">3377</td>
|
||||||
<td align="center">0</td>
|
<td align="center">0</td>
|
||||||
<td align="center">1300</td>
|
<td align="center">1224</td>
|
||||||
<td align="center">4668</td>
|
<td align="center">4601</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="center">E. coli</td>
|
<td align="center">E. coli</td>
|
||||||
<td align="center">GEN</td>
|
<td align="center">GEN</td>
|
||||||
<td align="center">4117</td>
|
<td align="center">4021</td>
|
||||||
<td align="center">0</td>
|
<td align="center">0</td>
|
||||||
<td align="center">551</td>
|
<td align="center">580</td>
|
||||||
<td align="center">4668</td>
|
<td align="center">4601</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">K. pneumoniae</td>
|
<td align="center">K. pneumoniae</td>
|
||||||
<td align="center">AMX</td>
|
<td align="center">AMX</td>
|
||||||
<td align="center">0</td>
|
<td align="center">0</td>
|
||||||
<td align="center">0</td>
|
<td align="center">0</td>
|
||||||
<td align="center">1201</td>
|
<td align="center">1210</td>
|
||||||
<td align="center">1201</td>
|
<td align="center">1210</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="center">K. pneumoniae</td>
|
<td align="center">K. pneumoniae</td>
|
||||||
<td align="center">AMC</td>
|
<td align="center">AMC</td>
|
||||||
<td align="center">952</td>
|
<td align="center">934</td>
|
||||||
<td align="center">36</td>
|
<td align="center">38</td>
|
||||||
<td align="center">213</td>
|
<td align="center">238</td>
|
||||||
<td align="center">1201</td>
|
<td align="center">1210</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -1080,34 +1080,34 @@ different bug/drug combinations, you can use the
|
|||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">E. coli</td>
|
<td align="center">E. coli</td>
|
||||||
<td align="center">GEN</td>
|
<td align="center">GEN</td>
|
||||||
<td align="center">4117</td>
|
<td align="center">4021</td>
|
||||||
<td align="center">0</td>
|
<td align="center">0</td>
|
||||||
<td align="center">551</td>
|
<td align="center">580</td>
|
||||||
<td align="center">4668</td>
|
<td align="center">4601</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="center">K. pneumoniae</td>
|
<td align="center">K. pneumoniae</td>
|
||||||
<td align="center">GEN</td>
|
<td align="center">GEN</td>
|
||||||
<td align="center">1100</td>
|
<td align="center">1098</td>
|
||||||
<td align="center">0</td>
|
<td align="center">0</td>
|
||||||
<td align="center">101</td>
|
<td align="center">112</td>
|
||||||
<td align="center">1201</td>
|
<td align="center">1210</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">S. aureus</td>
|
<td align="center">S. aureus</td>
|
||||||
<td align="center">GEN</td>
|
<td align="center">GEN</td>
|
||||||
<td align="center">2397</td>
|
<td align="center">2365</td>
|
||||||
<td align="center">0</td>
|
<td align="center">0</td>
|
||||||
<td align="center">291</td>
|
<td align="center">321</td>
|
||||||
<td align="center">2688</td>
|
<td align="center">2686</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="center">S. pneumoniae</td>
|
<td align="center">S. pneumoniae</td>
|
||||||
<td align="center">GEN</td>
|
<td align="center">GEN</td>
|
||||||
<td align="center">0</td>
|
<td align="center">0</td>
|
||||||
<td align="center">0</td>
|
<td align="center">0</td>
|
||||||
<td align="center">2093</td>
|
<td align="center">2115</td>
|
||||||
<td align="center">2093</td>
|
<td align="center">2115</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -1139,7 +1139,7 @@ I (<code><a href="../reference/proportion.html">proportion_SI()</a></code>, equa
|
|||||||
own:</p>
|
own:</p>
|
||||||
<div class="sourceCode" id="cb26"><pre class="downlit sourceCode r">
|
<div class="sourceCode" id="cb26"><pre class="downlit sourceCode r">
|
||||||
<code class="sourceCode R"><span><span class="va">data_1st</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span> <span class="fu"><a href="../reference/proportion.html">resistance</a></span><span class="op">(</span><span class="va">AMX</span><span class="op">)</span></span>
|
<code class="sourceCode R"><span><span class="va">data_1st</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span> <span class="fu"><a href="../reference/proportion.html">resistance</a></span><span class="op">(</span><span class="va">AMX</span><span class="op">)</span></span>
|
||||||
<span><span class="co"># [1] 0.5415962</span></span></code></pre></div>
|
<span><span class="co"># [1] 0.5434414</span></span></code></pre></div>
|
||||||
<p>Or can be used in conjunction with <code><a href="https://dplyr.tidyverse.org/reference/group_by.html" class="external-link">group_by()</a></code> and
|
<p>Or can be used in conjunction with <code><a href="https://dplyr.tidyverse.org/reference/group_by.html" class="external-link">group_by()</a></code> and
|
||||||
<code><a href="https://dplyr.tidyverse.org/reference/summarise.html" class="external-link">summarise()</a></code>, both from the <code>dplyr</code> package:</p>
|
<code><a href="https://dplyr.tidyverse.org/reference/summarise.html" class="external-link">summarise()</a></code>, both from the <code>dplyr</code> package:</p>
|
||||||
<div class="sourceCode" id="cb27"><pre class="downlit sourceCode r">
|
<div class="sourceCode" id="cb27"><pre class="downlit sourceCode r">
|
||||||
@ -1154,19 +1154,19 @@ own:</p>
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">Hospital A</td>
|
<td align="center">Hospital A</td>
|
||||||
<td align="center">0.5346793</td>
|
<td align="center">0.5427245</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="center">Hospital B</td>
|
<td align="center">Hospital B</td>
|
||||||
<td align="center">0.5482421</td>
|
<td align="center">0.5589124</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">Hospital C</td>
|
<td align="center">Hospital C</td>
|
||||||
<td align="center">0.5480192</td>
|
<td align="center">0.5351942</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="center">Hospital D</td>
|
<td align="center">Hospital D</td>
|
||||||
<td align="center">0.5347418</td>
|
<td align="center">0.5241280</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -1191,23 +1191,23 @@ all isolates available for every group (i.e. values S, I or R):</p>
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">Hospital A</td>
|
<td align="center">Hospital A</td>
|
||||||
<td align="center">0.5346793</td>
|
<td align="center">0.5427245</td>
|
||||||
<td align="center">3071</td>
|
<td align="center">3230</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="center">Hospital B</td>
|
<td align="center">Hospital B</td>
|
||||||
<td align="center">0.5482421</td>
|
<td align="center">0.5589124</td>
|
||||||
<td align="center">3783</td>
|
<td align="center">3641</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">Hospital C</td>
|
<td align="center">Hospital C</td>
|
||||||
<td align="center">0.5480192</td>
|
<td align="center">0.5351942</td>
|
||||||
<td align="center">1666</td>
|
<td align="center">1648</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="center">Hospital D</td>
|
<td align="center">Hospital D</td>
|
||||||
<td align="center">0.5347418</td>
|
<td align="center">0.5241280</td>
|
||||||
<td align="center">2130</td>
|
<td align="center">2093</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -1232,27 +1232,27 @@ therapies very easily:</p>
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">Escherichia</td>
|
<td align="center">Escherichia</td>
|
||||||
<td align="center">0.7705656</td>
|
<td align="center">0.7791784</td>
|
||||||
<td align="center">0.8819623</td>
|
<td align="center">0.8739404</td>
|
||||||
<td align="center">0.9777207</td>
|
<td align="center">0.9819604</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="center">Klebsiella</td>
|
<td align="center">Klebsiella</td>
|
||||||
<td align="center">0.8226478</td>
|
<td align="center">0.8033058</td>
|
||||||
<td align="center">0.9159034</td>
|
<td align="center">0.9074380</td>
|
||||||
<td align="center">0.9866778</td>
|
<td align="center">0.9826446</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">Staphylococcus</td>
|
<td align="center">Staphylococcus</td>
|
||||||
<td align="center">0.7979911</td>
|
<td align="center">0.7915115</td>
|
||||||
<td align="center">0.8917411</td>
|
<td align="center">0.8804914</td>
|
||||||
<td align="center">0.9769345</td>
|
<td align="center">0.9791512</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="center">Streptococcus</td>
|
<td align="center">Streptococcus</td>
|
||||||
<td align="center">0.5470616</td>
|
<td align="center">0.5295508</td>
|
||||||
<td align="center">0.0000000</td>
|
<td align="center">0.0000000</td>
|
||||||
<td align="center">0.5470616</td>
|
<td align="center">0.5295508</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -1280,23 +1280,23 @@ classes, use a antibiotic class selector such as
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">Hospital A</td>
|
<td align="left">Hospital A</td>
|
||||||
<td align="right">53.5%</td>
|
<td align="right">54.3%</td>
|
||||||
<td align="right">25.9%</td>
|
<td align="right">26.9%</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">Hospital B</td>
|
<td align="left">Hospital B</td>
|
||||||
<td align="right">54.8%</td>
|
<td align="right">55.9%</td>
|
||||||
<td align="right">26.6%</td>
|
<td align="right">26.8%</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">Hospital C</td>
|
<td align="left">Hospital C</td>
|
||||||
<td align="right">54.8%</td>
|
<td align="right">53.5%</td>
|
||||||
<td align="right">26.8%</td>
|
<td align="right">25.5%</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">Hospital D</td>
|
<td align="left">Hospital D</td>
|
||||||
<td align="right">53.5%</td>
|
<td align="right">52.4%</td>
|
||||||
<td align="right">24.8%</td>
|
<td align="right">25.9%</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -1412,18 +1412,16 @@ classes) <code><mic></code> and <code><disk></code>:</p>
|
|||||||
<code class="sourceCode R"><span><span class="va">mic_values</span> <span class="op"><-</span> <span class="fu"><a href="../reference/random.html">random_mic</a></span><span class="op">(</span>size <span class="op">=</span> <span class="fl">100</span><span class="op">)</span></span>
|
<code class="sourceCode R"><span><span class="va">mic_values</span> <span class="op"><-</span> <span class="fu"><a href="../reference/random.html">random_mic</a></span><span class="op">(</span>size <span class="op">=</span> <span class="fl">100</span><span class="op">)</span></span>
|
||||||
<span><span class="va">mic_values</span></span>
|
<span><span class="va">mic_values</span></span>
|
||||||
<span><span class="co"># Class 'mic'</span></span>
|
<span><span class="co"># Class 'mic'</span></span>
|
||||||
<span><span class="co"># [1] 0.125 2 0.01 <=0.002 >=256 16 16 1 0.01 </span></span>
|
<span><span class="co"># [1] 0.001 >=256 >=256 0.25 0.25 0.25 0.0625 >=256 0.025 0.25 </span></span>
|
||||||
<span><span class="co"># [10] 0.25 0.01 64 <=0.002 16 128 0.125 0.125 0.0625 </span></span>
|
<span><span class="co"># [11] 64 0.001 4 >=256 0.005 128 0.5 0.005 >=256 64 </span></span>
|
||||||
<span><span class="co"># [19] 0.005 1 0.125 >=256 16 0.01 0.125 2 0.25 </span></span>
|
<span><span class="co"># [21] 0.025 >=256 0.01 >=256 64 8 >=256 4 0.01 4 </span></span>
|
||||||
<span><span class="co"># [28] 0.025 >=256 0.01 0.0625 0.125 0.025 64 0.125 4 </span></span>
|
<span><span class="co"># [31] 0.001 64 0.125 2 0.002 0.002 2 0.125 128 0.5 </span></span>
|
||||||
<span><span class="co"># [37] 32 64 >=256 32 128 32 64 32 0.01 </span></span>
|
<span><span class="co"># [41] 16 0.001 1 32 0.125 0.25 0.025 0.025 0.005 128 </span></span>
|
||||||
<span><span class="co"># [46] 0.005 0.0625 16 32 4 4 0.0625 0.01 2 </span></span>
|
<span><span class="co"># [51] 0.01 0.125 0.01 128 2 >=256 0.001 >=256 0.25 0.125 </span></span>
|
||||||
<span><span class="co"># [55] 8 64 4 >=256 4 >=256 1 0.005 <=0.002</span></span>
|
<span><span class="co"># [61] 0.125 32 0.25 0.5 8 0.01 4 0.001 1 0.002 </span></span>
|
||||||
<span><span class="co"># [64] 0.25 4 0.125 1 128 0.125 128 0.25 1 </span></span>
|
<span><span class="co"># [71] 0.002 0.025 0.025 1 4 0.5 0.5 2 64 0.025 </span></span>
|
||||||
<span><span class="co"># [73] >=256 8 0.025 64 4 2 16 16 32 </span></span>
|
<span><span class="co"># [81] 0.025 0.005 0.005 0.5 >=256 64 0.0625 0.5 0.005 1 </span></span>
|
||||||
<span><span class="co"># [82] 0.25 8 4 16 0.005 64 0.0625 0.25 0.125 </span></span>
|
<span><span class="co"># [91] 4 0.002 0.5 0.01 0.001 0.5 4 16 32 128</span></span></code></pre></div>
|
||||||
<span><span class="co"># [91] 0.25 0.0625 0.01 0.125 0.125 0.01 64 0.125 0.005 </span></span>
|
|
||||||
<span><span class="co"># [100] 32</span></span></code></pre></div>
|
|
||||||
<div class="sourceCode" id="cb37"><pre class="downlit sourceCode r">
|
<div class="sourceCode" id="cb37"><pre class="downlit sourceCode r">
|
||||||
<code class="sourceCode R"><span><span class="co"># base R:</span></span>
|
<code class="sourceCode R"><span><span class="co"># base R:</span></span>
|
||||||
<span><span class="fu"><a href="../reference/plot.html">plot</a></span><span class="op">(</span><span class="va">mic_values</span><span class="op">)</span></span></code></pre></div>
|
<span><span class="fu"><a href="../reference/plot.html">plot</a></span><span class="op">(</span><span class="va">mic_values</span><span class="op">)</span></span></code></pre></div>
|
||||||
@ -1457,10 +1455,10 @@ plotting:</p>
|
|||||||
<code class="sourceCode R"><span><span class="va">disk_values</span> <span class="op"><-</span> <span class="fu"><a href="../reference/random.html">random_disk</a></span><span class="op">(</span>size <span class="op">=</span> <span class="fl">100</span>, mo <span class="op">=</span> <span class="st">"E. coli"</span>, ab <span class="op">=</span> <span class="st">"cipro"</span><span class="op">)</span></span>
|
<code class="sourceCode R"><span><span class="va">disk_values</span> <span class="op"><-</span> <span class="fu"><a href="../reference/random.html">random_disk</a></span><span class="op">(</span>size <span class="op">=</span> <span class="fl">100</span>, mo <span class="op">=</span> <span class="st">"E. coli"</span>, ab <span class="op">=</span> <span class="st">"cipro"</span><span class="op">)</span></span>
|
||||||
<span><span class="va">disk_values</span></span>
|
<span><span class="va">disk_values</span></span>
|
||||||
<span><span class="co"># Class 'disk'</span></span>
|
<span><span class="co"># Class 'disk'</span></span>
|
||||||
<span><span class="co"># [1] 22 22 17 17 30 20 21 18 30 22 28 21 18 25 28 19 30 22 22 19 22 29 27 18 31</span></span>
|
<span><span class="co"># [1] 30 31 31 26 17 19 19 22 23 25 19 21 29 29 19 19 23 22 28 28 22 28 25 22 21</span></span>
|
||||||
<span><span class="co"># [26] 17 17 27 26 30 23 21 17 23 31 22 27 31 20 18 20 22 23 17 18 20 24 26 21 29</span></span>
|
<span><span class="co"># [26] 22 25 24 29 24 19 29 21 25 27 28 20 31 19 21 25 30 22 30 29 23 19 26 23 20</span></span>
|
||||||
<span><span class="co"># [51] 28 31 21 31 23 24 28 31 28 28 23 27 31 18 31 23 22 21 19 21 21 19 31 27 29</span></span>
|
<span><span class="co"># [51] 28 24 31 31 22 22 30 30 29 25 24 29 27 24 29 21 17 18 30 19 26 21 18 30 19</span></span>
|
||||||
<span><span class="co"># [76] 20 22 31 17 24 23 27 21 28 21 28 17 31 23 17 25 25 21 31 23 31 18 23 18 19</span></span></code></pre></div>
|
<span><span class="co"># [76] 28 29 21 25 30 28 31 22 22 27 31 23 30 20 29 23 29 28 31 28 20 26 20 20 25</span></span></code></pre></div>
|
||||||
<div class="sourceCode" id="cb43"><pre class="downlit sourceCode r">
|
<div class="sourceCode" id="cb43"><pre class="downlit sourceCode r">
|
||||||
<code class="sourceCode R"><span><span class="co"># base R:</span></span>
|
<code class="sourceCode R"><span><span class="co"># base R:</span></span>
|
||||||
<span><span class="fu"><a href="../reference/plot.html">plot</a></span><span class="op">(</span><span class="va">disk_values</span>, mo <span class="op">=</span> <span class="st">"E. coli"</span>, ab <span class="op">=</span> <span class="st">"cipro"</span><span class="op">)</span></span></code></pre></div>
|
<span><span class="fu"><a href="../reference/plot.html">plot</a></span><span class="op">(</span><span class="va">disk_values</span>, mo <span class="op">=</span> <span class="st">"E. coli"</span>, ab <span class="op">=</span> <span class="st">"cipro"</span><span class="op">)</span></span></code></pre></div>
|
||||||
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -375,19 +375,19 @@ names or codes, this would have worked exactly the same way:</p>
|
|||||||
<div class="sourceCode" id="cb8"><pre class="downlit sourceCode r">
|
<div class="sourceCode" id="cb8"><pre class="downlit sourceCode r">
|
||||||
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/utils/head.html" class="external-link">head</a></span><span class="op">(</span><span class="va">my_TB_data</span><span class="op">)</span></span>
|
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/utils/head.html" class="external-link">head</a></span><span class="op">(</span><span class="va">my_TB_data</span><span class="op">)</span></span>
|
||||||
<span><span class="co"># rifampicin isoniazid gatifloxacin ethambutol pyrazinamide moxifloxacin</span></span>
|
<span><span class="co"># rifampicin isoniazid gatifloxacin ethambutol pyrazinamide moxifloxacin</span></span>
|
||||||
<span><span class="co"># 1 S S S I R R</span></span>
|
<span><span class="co"># 1 S R S I S R</span></span>
|
||||||
<span><span class="co"># 2 I S S S R I</span></span>
|
<span><span class="co"># 2 R I R S R I</span></span>
|
||||||
<span><span class="co"># 3 S R R I I R</span></span>
|
<span><span class="co"># 3 S I S R S I</span></span>
|
||||||
<span><span class="co"># 4 I I R I I S</span></span>
|
<span><span class="co"># 4 I I I I R R</span></span>
|
||||||
<span><span class="co"># 5 R I S S R I</span></span>
|
<span><span class="co"># 5 S I R S I I</span></span>
|
||||||
<span><span class="co"># 6 I S S S R R</span></span>
|
<span><span class="co"># 6 R R S S R I</span></span>
|
||||||
<span><span class="co"># kanamycin</span></span>
|
<span><span class="co"># kanamycin</span></span>
|
||||||
<span><span class="co"># 1 R</span></span>
|
<span><span class="co"># 1 R</span></span>
|
||||||
<span><span class="co"># 2 I</span></span>
|
<span><span class="co"># 2 I</span></span>
|
||||||
<span><span class="co"># 3 S</span></span>
|
<span><span class="co"># 3 R</span></span>
|
||||||
<span><span class="co"># 4 S</span></span>
|
<span><span class="co"># 4 S</span></span>
|
||||||
<span><span class="co"># 5 S</span></span>
|
<span><span class="co"># 5 R</span></span>
|
||||||
<span><span class="co"># 6 I</span></span></code></pre></div>
|
<span><span class="co"># 6 R</span></span></code></pre></div>
|
||||||
<p>We can now add the interpretation of MDR-TB to our data set. You can
|
<p>We can now add the interpretation of MDR-TB to our data set. You can
|
||||||
use:</p>
|
use:</p>
|
||||||
<div class="sourceCode" id="cb9"><pre class="downlit sourceCode r">
|
<div class="sourceCode" id="cb9"><pre class="downlit sourceCode r">
|
||||||
@ -428,40 +428,40 @@ Unique: 5</p>
|
|||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">1</td>
|
<td align="left">1</td>
|
||||||
<td align="left">Mono-resistant</td>
|
<td align="left">Mono-resistant</td>
|
||||||
<td align="right">3195</td>
|
<td align="right">3220</td>
|
||||||
<td align="right">63.90%</td>
|
<td align="right">64.40%</td>
|
||||||
<td align="right">3195</td>
|
<td align="right">3220</td>
|
||||||
<td align="right">63.90%</td>
|
<td align="right">64.40%</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">2</td>
|
<td align="left">2</td>
|
||||||
<td align="left">Negative</td>
|
<td align="left">Negative</td>
|
||||||
<td align="right">1015</td>
|
<td align="right">1018</td>
|
||||||
<td align="right">20.30%</td>
|
<td align="right">20.36%</td>
|
||||||
<td align="right">4210</td>
|
<td align="right">4238</td>
|
||||||
<td align="right">84.20%</td>
|
<td align="right">84.76%</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">3</td>
|
<td align="left">3</td>
|
||||||
<td align="left">Multi-drug-resistant</td>
|
<td align="left">Multi-drug-resistant</td>
|
||||||
<td align="right">437</td>
|
<td align="right">403</td>
|
||||||
<td align="right">8.74%</td>
|
<td align="right">8.06%</td>
|
||||||
<td align="right">4647</td>
|
<td align="right">4641</td>
|
||||||
<td align="right">92.94%</td>
|
<td align="right">92.82%</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">4</td>
|
<td align="left">4</td>
|
||||||
<td align="left">Poly-resistant</td>
|
<td align="left">Poly-resistant</td>
|
||||||
<td align="right">254</td>
|
<td align="right">258</td>
|
||||||
<td align="right">5.08%</td>
|
<td align="right">5.16%</td>
|
||||||
<td align="right">4901</td>
|
<td align="right">4899</td>
|
||||||
<td align="right">98.02%</td>
|
<td align="right">97.98%</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">5</td>
|
<td align="left">5</td>
|
||||||
<td align="left">Extensively drug-resistant</td>
|
<td align="left">Extensively drug-resistant</td>
|
||||||
<td align="right">99</td>
|
<td align="right">101</td>
|
||||||
<td align="right">1.98%</td>
|
<td align="right">2.02%</td>
|
||||||
<td align="right">5000</td>
|
<td align="right">5000</td>
|
||||||
<td align="right">100.00%</td>
|
<td align="right">100.00%</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -168,7 +168,7 @@
|
|||||||
<h4 data-toc-skip class="author">Dr. Matthijs
|
<h4 data-toc-skip class="author">Dr. Matthijs
|
||||||
Berends</h4>
|
Berends</h4>
|
||||||
|
|
||||||
<h4 data-toc-skip class="date">14 November 2022</h4>
|
<h4 data-toc-skip class="date">17 November 2022</h4>
|
||||||
|
|
||||||
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/HEAD/vignettes/SPSS.Rmd" class="external-link"><code>vignettes/SPSS.Rmd</code></a></small>
|
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/HEAD/vignettes/SPSS.Rmd" class="external-link"><code>vignettes/SPSS.Rmd</code></a></small>
|
||||||
<div class="d-none name"><code>SPSS.Rmd</code></div>
|
<div class="d-none name"><code>SPSS.Rmd</code></div>
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -166,7 +166,7 @@
|
|||||||
<main id="main" class="col-md-9"><div class="page-header">
|
<main id="main" class="col-md-9"><div class="page-header">
|
||||||
<img src="../logo.svg" class="logo" alt=""><h1>Data sets for download / own use</h1>
|
<img src="../logo.svg" class="logo" alt=""><h1>Data sets for download / own use</h1>
|
||||||
|
|
||||||
<h4 data-toc-skip class="date">14 November 2022</h4>
|
<h4 data-toc-skip class="date">17 November 2022</h4>
|
||||||
|
|
||||||
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/HEAD/vignettes/datasets.Rmd" class="external-link"><code>vignettes/datasets.Rmd</code></a></small>
|
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/HEAD/vignettes/datasets.Rmd" class="external-link"><code>vignettes/datasets.Rmd</code></a></small>
|
||||||
<div class="d-none name"><code>datasets.Rmd</code></div>
|
<div class="d-none name"><code>datasets.Rmd</code></div>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -132,10 +132,10 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
<h2 class="pkg-version" data-toc-text="1.8.2.9051" id="amr-1829051">AMR 1.8.2.9051<a class="anchor" aria-label="anchor" href="#amr-1829051"></a></h2>
|
<h2 class="pkg-version" data-toc-text="1.8.2.9052" id="amr-1829052">AMR 1.8.2.9052<a class="anchor" aria-label="anchor" href="#amr-1829052"></a></h2>
|
||||||
<p>This version will eventually become v2.0! We’re happy to reach a new major milestone soon!</p>
|
<p>This version will eventually become v2.0! We’re happy to reach a new major milestone soon!</p>
|
||||||
<div class="section level4">
|
<div class="section level4">
|
||||||
<h4 id="breaking-1-8-2-9051">Breaking<a class="anchor" aria-label="anchor" href="#breaking-1-8-2-9051"></a></h4>
|
<h4 id="breaking-1-8-2-9052">Breaking<a class="anchor" aria-label="anchor" href="#breaking-1-8-2-9052"></a></h4>
|
||||||
<ul><li>Removed all species of the taxonomic kingdom Chromista from the package. This was done for multiple reasons:
|
<ul><li>Removed all species of the taxonomic kingdom Chromista from the package. This was done for multiple reasons:
|
||||||
<ul><li>CRAN allows packages to be around 5 MB maximum, some packages are exempted but this package is not one of them</li>
|
<ul><li>CRAN allows packages to be around 5 MB maximum, some packages are exempted but this package is not one of them</li>
|
||||||
<li>Chromista are not relevant when it comes to antimicrobial resistance, thus lacking the primary scope of this package</li>
|
<li>Chromista are not relevant when it comes to antimicrobial resistance, thus lacking the primary scope of this package</li>
|
||||||
@ -151,7 +151,7 @@
|
|||||||
<li>Using <code>units</code> in <code>ab_ddd(..., units = "...")</code> had been deprecated and is now not supported anymore. Use <code><a href="../reference/ab_property.html">ab_ddd_units()</a></code> instead.</li>
|
<li>Using <code>units</code> in <code>ab_ddd(..., units = "...")</code> had been deprecated and is now not supported anymore. Use <code><a href="../reference/ab_property.html">ab_ddd_units()</a></code> instead.</li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
<div class="section level4">
|
<div class="section level4">
|
||||||
<h4 id="new-1-8-2-9051">New<a class="anchor" aria-label="anchor" href="#new-1-8-2-9051"></a></h4>
|
<h4 id="new-1-8-2-9052">New<a class="anchor" aria-label="anchor" href="#new-1-8-2-9052"></a></h4>
|
||||||
<ul><li>
|
<ul><li>
|
||||||
<strong>EUCAST 2022 and CLSI 2022 guidelines</strong> have been added for <code><a href="../reference/as.rsi.html">as.rsi()</a></code>. EUCAST 2022 (v12.0) is now the new default guideline for all MIC and disks diffusion interpretations, and for <code><a href="../reference/eucast_rules.html">eucast_rules()</a></code> to apply EUCAST Expert Rules.</li>
|
<strong>EUCAST 2022 and CLSI 2022 guidelines</strong> have been added for <code><a href="../reference/as.rsi.html">as.rsi()</a></code>. EUCAST 2022 (v12.0) is now the new default guideline for all MIC and disks diffusion interpretations, and for <code><a href="../reference/eucast_rules.html">eucast_rules()</a></code> to apply EUCAST Expert Rules.</li>
|
||||||
<li>Support for the following languages: Chinese, Greek, Japanese, Polish, Turkish and Ukrainian. We are very grateful for the valuable input by our colleagues from other countries. The <code>AMR</code> package is now available in 16 languages. The automatic language determination will give a note at start-up on systems in supported languages.</li>
|
<li>Support for the following languages: Chinese, Greek, Japanese, Polish, Turkish and Ukrainian. We are very grateful for the valuable input by our colleagues from other countries. The <code>AMR</code> package is now available in 16 languages. The automatic language determination will give a note at start-up on systems in supported languages.</li>
|
||||||
@ -193,7 +193,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
<div class="section level4">
|
<div class="section level4">
|
||||||
<h4 id="changed-1-8-2-9051">Changed<a class="anchor" aria-label="anchor" href="#changed-1-8-2-9051"></a></h4>
|
<h4 id="changed-1-8-2-9052">Changed<a class="anchor" aria-label="anchor" href="#changed-1-8-2-9052"></a></h4>
|
||||||
<ul><li>Fix for using <code><a href="../reference/as.rsi.html">as.rsi()</a></code> on certain EUCAST breakpoints for MIC values</li>
|
<ul><li>Fix for using <code><a href="../reference/as.rsi.html">as.rsi()</a></code> on certain EUCAST breakpoints for MIC values</li>
|
||||||
<li>Fix for using <code><a href="../reference/as.rsi.html">as.rsi()</a></code> on <code>NA</code> values (e.g. <code>as.rsi(as.disk(NA), ...)</code>)</li>
|
<li>Fix for using <code><a href="../reference/as.rsi.html">as.rsi()</a></code> on <code>NA</code> values (e.g. <code>as.rsi(as.disk(NA), ...)</code>)</li>
|
||||||
<li>Fix for using <code><a href="../reference/as.rsi.html">as.rsi()</a></code> on bug-drug combinations with multiple breakpoints for different body sites</li>
|
<li>Fix for using <code><a href="../reference/as.rsi.html">as.rsi()</a></code> on bug-drug combinations with multiple breakpoints for different body sites</li>
|
||||||
@ -224,7 +224,7 @@
|
|||||||
<li>Fix for <code><a href="../reference/mo_property.html">mo_shortname()</a></code> in case of higher taxonomic ranks (order, class, phylum)</li>
|
<li>Fix for <code><a href="../reference/mo_property.html">mo_shortname()</a></code> in case of higher taxonomic ranks (order, class, phylum)</li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
<div class="section level4">
|
<div class="section level4">
|
||||||
<h4 id="other-1-8-2-9051">Other<a class="anchor" aria-label="anchor" href="#other-1-8-2-9051"></a></h4>
|
<h4 id="other-1-8-2-9052">Other<a class="anchor" aria-label="anchor" href="#other-1-8-2-9052"></a></h4>
|
||||||
<ul><li>New website to make use of the new Bootstrap 5 and pkgdown 2.0. The website now contains results for all examples and will be automatically regenerated with every change to our repository, using GitHub Actions</li>
|
<ul><li>New website to make use of the new Bootstrap 5 and pkgdown 2.0. The website now contains results for all examples and will be automatically regenerated with every change to our repository, using GitHub Actions</li>
|
||||||
<li>Added Peter Dutey-Magni, Dmytro Mykhailenko, Anton Mymrikov, and Jonas Salm as contributors, to thank them for their valuable input</li>
|
<li>Added Peter Dutey-Magni, Dmytro Mykhailenko, Anton Mymrikov, and Jonas Salm as contributors, to thank them for their valuable input</li>
|
||||||
<li>All R and Rmd files in this project are now styled using the <code>styler</code> package</li>
|
<li>All R and Rmd files in this project are now styled using the <code>styler</code> package</li>
|
||||||
|
@ -11,7 +11,7 @@ articles:
|
|||||||
datasets: datasets.html
|
datasets: datasets.html
|
||||||
resistance_predict: resistance_predict.html
|
resistance_predict: resistance_predict.html
|
||||||
welcome_to_AMR: welcome_to_AMR.html
|
welcome_to_AMR: welcome_to_AMR.html
|
||||||
last_built: 2022-11-14T14:24Z
|
last_built: 2022-11-17T14:29Z
|
||||||
urls:
|
urls:
|
||||||
reference: https://msberends.github.io/AMR/reference
|
reference: https://msberends.github.io/AMR/reference
|
||||||
article: https://msberends.github.io/AMR/articles
|
article: https://msberends.github.io/AMR/articles
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -62,7 +62,7 @@ Principal component analysis for AMR
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 7.9 KiB |
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -195,16 +195,16 @@
|
|||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="va">df</span></span></span>
|
<span class="r-in"><span><span class="va">df</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> birth_date age age_exact age_at_y2k</span>
|
<span class="r-out co"><span class="r-pr">#></span> birth_date age age_exact age_at_y2k</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 1932-11-14 90 90.00000 67</span>
|
<span class="r-out co"><span class="r-pr">#></span> 1 1932-03-07 90 90.69863 67</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 1985-08-22 37 37.23014 14</span>
|
<span class="r-out co"><span class="r-pr">#></span> 2 1942-12-05 79 79.95068 57</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 3 1974-06-23 48 48.39452 25</span>
|
<span class="r-out co"><span class="r-pr">#></span> 3 1980-08-20 42 42.24384 19</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 4 1954-12-08 67 67.93425 45</span>
|
<span class="r-out co"><span class="r-pr">#></span> 4 1952-02-11 70 70.76438 47</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 5 1973-01-26 49 49.80000 26</span>
|
<span class="r-out co"><span class="r-pr">#></span> 5 1965-01-13 57 57.84384 34</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 6 1940-11-21 81 81.98082 59</span>
|
<span class="r-out co"><span class="r-pr">#></span> 6 1948-12-23 73 73.90137 51</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 7 1964-04-16 58 58.58082 35</span>
|
<span class="r-out co"><span class="r-pr">#></span> 7 1971-03-14 51 51.67945 28</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 8 1979-11-15 42 42.99726 20</span>
|
<span class="r-out co"><span class="r-pr">#></span> 8 1936-06-01 86 86.46301 63</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 9 1955-06-26 67 67.38630 44</span>
|
<span class="r-out co"><span class="r-pr">#></span> 9 1935-09-21 87 87.15616 64</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 10 1975-11-22 46 46.97808 24</span>
|
<span class="r-out co"><span class="r-pr">#></span> 10 1969-01-03 53 53.87123 30</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -501,16 +501,16 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
|
|||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 50 × 12</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 50 × 12</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> datetime index ab_userinput ab_actual mo_us…¹ mo_actual guide…²</span>
|
<span class="r-out co"><span class="r-pr">#></span> datetime index ab_userinput ab_actual mo_us…¹ mo_actual guide…²</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><dttm></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><ab></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><chr></span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><dttm></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><ab></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><chr></span> </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 2022-11-14 <span style="color: #949494;">14:25:08</span> 1 ampicillin AMP Strep … B_STRPT_PNMN EUCAST…</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 2022-11-17 <span style="color: #949494;">14:29:45</span> 1 ampicillin AMP Strep … B_STRPT_PNMN EUCAST…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 2022-11-14 <span style="color: #949494;">14:25:08</span> 1 AMP AMP Escher… B_ESCHR_COLI EUCAST…</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 2022-11-17 <span style="color: #949494;">14:29:45</span> 1 AMP AMP Escher… B_ESCHR_COLI EUCAST…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 2022-11-14 <span style="color: #949494;">14:25:08</span> 1 CIP CIP Escher… B_ESCHR_COLI EUCAST…</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 2022-11-17 <span style="color: #949494;">14:29:46</span> 1 CIP CIP Escher… B_ESCHR_COLI EUCAST…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 2022-11-14 <span style="color: #949494;">14:25:09</span> 1 GEN GEN Escher… B_ESCHR_COLI EUCAST…</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 2022-11-17 <span style="color: #949494;">14:29:46</span> 1 GEN GEN Escher… B_ESCHR_COLI EUCAST…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 2022-11-14 <span style="color: #949494;">14:25:09</span> 1 TOB TOB Escher… B_ESCHR_COLI EUCAST…</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 2022-11-17 <span style="color: #949494;">14:29:46</span> 1 TOB TOB Escher… B_ESCHR_COLI EUCAST…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 2022-11-14 <span style="color: #949494;">14:25:10</span> 1 AMX AMX B_STRP… B_STRPT_PNMN EUCAST…</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 2022-11-17 <span style="color: #949494;">14:29:47</span> 1 AMX AMX B_STRP… B_STRPT_PNMN EUCAST…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 2022-11-14 <span style="color: #949494;">14:25:10</span> 1 AMX AMX B_STRP… B_STRPT_PNMN EUCAST…</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 2022-11-17 <span style="color: #949494;">14:29:47</span> 1 AMX AMX B_STRP… B_STRPT_PNMN EUCAST…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 2022-11-14 <span style="color: #949494;">14:25:10</span> 2 AMX AMX B_STRP… B_STRPT_PNMN EUCAST…</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 2022-11-17 <span style="color: #949494;">14:29:48</span> 2 AMX AMX B_STRP… B_STRPT_PNMN EUCAST…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 2022-11-14 <span style="color: #949494;">14:25:10</span> 3 AMX AMX B_STRP… B_STRPT_PNMN EUCAST…</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 2022-11-17 <span style="color: #949494;">14:29:48</span> 3 AMX AMX B_STRP… B_STRPT_PNMN EUCAST…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 2022-11-14 <span style="color: #949494;">14:25:11</span> 4 AMX AMX B_STRP… B_STRPT_PNMN EUCAST…</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 2022-11-17 <span style="color: #949494;">14:29:48</span> 4 AMX AMX B_STRP… B_STRPT_PNMN EUCAST…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># … with 40 more rows, 5 more variables: ref_table <chr>, method <chr>,</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># … with 40 more rows, 5 more variables: ref_table <chr>, method <chr>,</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># input <dbl>, outcome <rsi>, breakpoint_S_R <chr>, and abbreviated variable</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># input <dbl>, outcome <rsi>, breakpoint_S_R <chr>, and abbreviated variable</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># names ¹mo_userinput, ²guideline</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># names ¹mo_userinput, ²guideline</span></span>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -12,7 +12,7 @@ count_resistant() should be used to count resistant isolates, count_susceptible(
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -12,7 +12,7 @@ To improve the interpretation of the antibiogram before EUCAST rules are applied
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -182,32 +182,32 @@
|
|||||||
<span class="r-in"><span><span class="va">df</span> <span class="op"><-</span> <span class="va">example_isolates</span><span class="op">[</span><span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/seq.html" class="external-link">seq_len</a></span><span class="op">(</span><span class="fl">2000</span><span class="op">)</span>, size <span class="op">=</span> <span class="fl">200</span><span class="op">)</span>, <span class="op">]</span></span></span>
|
<span class="r-in"><span><span class="va">df</span> <span class="op"><-</span> <span class="va">example_isolates</span><span class="op">[</span><span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/seq.html" class="external-link">seq_len</a></span><span class="op">(</span><span class="fl">2000</span><span class="op">)</span>, size <span class="op">=</span> <span class="fl">200</span><span class="op">)</span>, <span class="op">]</span></span></span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="fu">get_episode</span><span class="op">(</span><span class="va">df</span><span class="op">$</span><span class="va">date</span>, episode_days <span class="op">=</span> <span class="fl">60</span><span class="op">)</span> <span class="co"># indices</span></span></span>
|
<span class="r-in"><span><span class="fu">get_episode</span><span class="op">(</span><span class="va">df</span><span class="op">$</span><span class="va">date</span>, episode_days <span class="op">=</span> <span class="fl">60</span><span class="op">)</span> <span class="co"># indices</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 47 45 6 9 11 46 58 56 41 8 8 12 56 4 3 54 46 19 57 60 31 23 20 29 5</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 44 49 56 3 47 61 4 6 14 60 50 34 8 28 25 60 61 8 37 29 11 9 22 27 7</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [26] 3 44 5 1 28 40 49 6 37 51 23 53 53 41 34 34 14 21 55 32 39 57 15 4 28</span>
|
<span class="r-out co"><span class="r-pr">#></span> [26] 35 56 52 12 49 11 43 6 34 39 8 56 23 39 10 45 28 5 48 2 25 45 57 14 33</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [51] 15 9 56 42 28 13 55 36 27 34 34 31 60 59 22 51 36 19 30 41 12 60 21 7 2</span>
|
<span class="r-out co"><span class="r-pr">#></span> [51] 32 46 8 59 27 56 39 35 9 6 1 49 40 26 44 12 18 34 54 7 8 2 27 7 36</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [76] 41 41 51 50 2 6 16 7 25 52 8 59 30 51 50 40 29 15 22 13 27 53 33 51 49</span>
|
<span class="r-out co"><span class="r-pr">#></span> [76] 40 52 2 10 52 63 12 35 2 41 26 40 60 31 6 53 23 58 30 46 19 7 22 54 22</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [101] 38 35 16 19 1 8 18 9 43 56 10 37 35 36 5 14 55 56 37 1 26 30 58 29 49</span>
|
<span class="r-out co"><span class="r-pr">#></span> [101] 33 63 27 45 12 60 59 61 36 24 17 8 15 17 25 22 56 6 23 36 62 55 4 22 43</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [126] 49 43 53 51 27 55 44 22 60 60 51 23 33 26 48 20 17 35 42 35 19 19 19 21 52</span>
|
<span class="r-out co"><span class="r-pr">#></span> [126] 52 38 13 20 26 59 8 9 37 27 8 35 14 60 37 43 1 52 22 17 61 50 20 47 49</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [151] 32 46 35 45 55 27 13 33 19 57 57 57 26 15 11 10 33 46 25 12 55 45 18 41 58</span>
|
<span class="r-out co"><span class="r-pr">#></span> [151] 50 60 61 5 61 16 46 24 55 17 56 42 60 33 4 47 34 18 6 51 29 60 47 53 12</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [176] 42 17 31 29 58 55 49 53 51 24 14 35 16 11 58 25 51 15 15 22 16 51 46 37 53</span>
|
<span class="r-out co"><span class="r-pr">#></span> [176] 16 56 56 1 4 34 27 23 50 10 30 58 3 10 13 49 60 56 57 21 22 19 15 25 6</span>
|
||||||
<span class="r-in"><span><span class="fu">is_new_episode</span><span class="op">(</span><span class="va">df</span><span class="op">$</span><span class="va">date</span>, episode_days <span class="op">=</span> <span class="fl">60</span><span class="op">)</span> <span class="co"># TRUE/FALSE</span></span></span>
|
<span class="r-in"><span><span class="fu">is_new_episode</span><span class="op">(</span><span class="va">df</span><span class="op">$</span><span class="va">date</span>, episode_days <span class="op">=</span> <span class="fl">60</span><span class="op">)</span> <span class="co"># TRUE/FALSE</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] TRUE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] TRUE TRUE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE TRUE FALSE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [13] FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [13] FALSE TRUE FALSE FALSE TRUE FALSE FALSE TRUE TRUE TRUE FALSE FALSE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [25] FALSE TRUE FALSE TRUE TRUE FALSE TRUE FALSE TRUE FALSE FALSE TRUE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [25] FALSE TRUE TRUE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [37] FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE TRUE TRUE TRUE FALSE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [37] FALSE FALSE TRUE FALSE FALSE FALSE TRUE TRUE FALSE FALSE FALSE FALSE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [49] TRUE TRUE FALSE FALSE FALSE TRUE FALSE TRUE FALSE FALSE FALSE FALSE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [49] FALSE FALSE TRUE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [61] FALSE TRUE FALSE TRUE TRUE FALSE FALSE TRUE TRUE FALSE FALSE TRUE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [61] FALSE FALSE FALSE TRUE FALSE FALSE FALSE TRUE TRUE FALSE FALSE FALSE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [73] TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE FALSE FALSE TRUE FALSE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [73] FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE TRUE FALSE FALSE TRUE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [85] TRUE FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE FALSE FALSE FALSE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [85] TRUE FALSE TRUE FALSE TRUE FALSE FALSE FALSE TRUE TRUE FALSE TRUE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [97] FALSE TRUE FALSE FALSE TRUE FALSE TRUE FALSE FALSE FALSE TRUE FALSE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [97] TRUE FALSE FALSE FALSE TRUE FALSE FALSE TRUE FALSE TRUE FALSE FALSE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [109] TRUE FALSE FALSE FALSE FALSE TRUE FALSE TRUE TRUE TRUE TRUE FALSE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [109] FALSE FALSE FALSE FALSE TRUE TRUE FALSE FALSE FALSE FALSE FALSE TRUE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [121] FALSE FALSE TRUE FALSE TRUE FALSE FALSE TRUE TRUE TRUE FALSE TRUE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [121] TRUE FALSE FALSE FALSE FALSE FALSE TRUE TRUE FALSE FALSE FALSE TRUE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [133] FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE TRUE FALSE FALSE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [133] FALSE FALSE TRUE FALSE FALSE TRUE FALSE TRUE TRUE FALSE FALSE TRUE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [145] TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [145] FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [157] FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE TRUE TRUE FALSE FALSE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [157] TRUE TRUE TRUE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE TRUE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [169] FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [169] TRUE TRUE FALSE FALSE FALSE TRUE FALSE TRUE FALSE FALSE TRUE TRUE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [181] FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE TRUE FALSE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [181] FALSE FALSE TRUE FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [193] FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [193] FALSE TRUE TRUE FALSE FALSE FALSE TRUE FALSE</span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="co"># filter on results from the third 60-day episode only, using base R</span></span></span>
|
<span class="r-in"><span><span class="co"># filter on results from the third 60-day episode only, using base R</span></span></span>
|
||||||
<span class="r-in"><span><span class="va">df</span><span class="op">[</span><span class="fu"><a href="https://rdrr.io/r/base/which.html" class="external-link">which</a></span><span class="op">(</span><span class="fu">get_episode</span><span class="op">(</span><span class="va">df</span><span class="op">$</span><span class="va">date</span>, <span class="fl">60</span><span class="op">)</span> <span class="op">==</span> <span class="fl">3</span><span class="op">)</span>, <span class="op">]</span></span></span>
|
<span class="r-in"><span><span class="va">df</span><span class="op">[</span><span class="fu"><a href="https://rdrr.io/r/base/which.html" class="external-link">which</a></span><span class="op">(</span><span class="fu">get_episode</span><span class="op">(</span><span class="va">df</span><span class="op">$</span><span class="va">date</span>, <span class="fl">60</span><span class="op">)</span> <span class="op">==</span> <span class="fl">3</span><span class="op">)</span>, <span class="op">]</span></span></span>
|
||||||
@ -215,7 +215,7 @@
|
|||||||
<span class="r-out co"><span class="r-pr">#></span> date patient age gender ward mo PEN OXA FLC AMX </span>
|
<span class="r-out co"><span class="r-pr">#></span> date patient age gender ward mo PEN OXA FLC AMX </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><date></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><dbl></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><rsi></span> <span style="color: #949494; font-style: italic;"><rsi></span> <span style="color: #949494; font-style: italic;"><rsi></span> <span style="color: #949494; font-style: italic;"><rsi></span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><date></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><dbl></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><rsi></span> <span style="color: #949494; font-style: italic;"><rsi></span> <span style="color: #949494; font-style: italic;"><rsi></span> <span style="color: #949494; font-style: italic;"><rsi></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">1</span> 2002-08-19 A49852 70 M Clinical B_ESCHR_COLI R NA NA NA </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">1</span> 2002-08-19 A49852 70 M Clinical B_ESCHR_COLI R NA NA NA </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">2</span> 2002-07-21 955940 82 F Clinical B_PSDMN_AERG R NA NA R </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">2</span> 2002-07-15 C42193 84 M ICU B_STPHY_HMNS R NA R R </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># … with 36 more variables: AMC <rsi>, AMP <rsi>, TZP <rsi>, CZO <rsi>,</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># … with 36 more variables: AMC <rsi>, AMP <rsi>, TZP <rsi>, CZO <rsi>,</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># FEP <rsi>, CXM <rsi>, FOX <rsi>, CTX <rsi>, CAZ <rsi>, CRO <rsi>,</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># FEP <rsi>, CXM <rsi>, FOX <rsi>, CTX <rsi>, CAZ <rsi>, CRO <rsi>,</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># GEN <rsi>, TOB <rsi>, AMK <rsi>, KAN <rsi>, TMP <rsi>, SXT <rsi>,</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># GEN <rsi>, TOB <rsi>, AMK <rsi>, KAN <rsi>, TMP <rsi>, SXT <rsi>,</span></span>
|
||||||
@ -251,16 +251,16 @@
|
|||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># Groups: condition [3]</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># Groups: condition [3]</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> patient date condition new_episode</span>
|
<span class="r-out co"><span class="r-pr">#></span> patient date condition new_episode</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><date></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><lgl></span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><date></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><lgl></span> </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 8F77B2 2014-02-20 B FALSE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 3B8892 2012-06-11 A FALSE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 545388 2013-07-29 B FALSE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 835073 2013-09-27 B TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 6BC362 2003-04-25 B FALSE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 375975 2015-11-19 C FALSE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> C58921 2004-01-01 C TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> A49852 2002-08-19 C FALSE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 4B6270 2004-07-01 A FALSE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 660761 2013-03-05 A FALSE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> A97263 2013-11-23 C TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> BF4515 2017-06-12 C FALSE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 871020 2017-07-20 A FALSE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 956065 2002-11-18 C FALSE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 976997 2017-03-02 C FALSE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> F35553 2003-09-05 A FALSE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 223705 2012-07-20 A FALSE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 904485 2005-04-18 B FALSE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 739C43 2003-09-26 A FALSE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 5F7C80 2017-03-20 B FALSE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># … with 190 more rows</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># … with 190 more rows</span></span>
|
||||||
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
||||||
<span class="r-in"><span> <span class="va">df</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span></span></span>
|
<span class="r-in"><span> <span class="va">df</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span></span></span>
|
||||||
@ -272,19 +272,19 @@
|
|||||||
<span class="r-in"><span> <span class="op">)</span></span></span>
|
<span class="r-in"><span> <span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span><span class="op">}</span></span></span>
|
<span class="r-in"><span><span class="op">}</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 200 × 5</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 200 × 5</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># Groups: ward, patient [184]</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># Groups: ward, patient [181]</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> ward date patient new_index new_logical</span>
|
<span class="r-out co"><span class="r-pr">#></span> ward date patient new_index new_logical</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><date></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><dbl></span> <span style="color: #949494; font-style: italic;"><lgl></span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><date></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><dbl></span> <span style="color: #949494; font-style: italic;"><lgl></span> </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> Clinical 2014-02-20 8F77B2 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> Clinical 2012-06-11 3B8892 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> Clinical 2013-07-29 545388 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> Clinical 2013-09-27 835073 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> ICU 2003-04-25 6BC362 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> Clinical 2015-11-19 375975 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> Clinical 2004-01-01 C58921 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> Clinical 2002-08-19 A49852 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> Clinical 2004-07-01 4B6270 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> Clinical 2013-03-05 660761 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> Clinical 2013-11-23 A97263 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> ICU 2017-06-12 BF4515 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> Clinical 2017-07-20 871020 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> Clinical 2002-11-18 956065 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> Clinical 2017-03-02 976997 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> ICU 2003-09-05 F35553 2 FALSE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> Clinical 2012-07-20 223705 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> ICU 2005-04-18 904485 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> Clinical 2003-09-26 739C43 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> Clinical 2017-03-20 5F7C80 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># … with 190 more rows</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># … with 190 more rows</span></span>
|
||||||
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
||||||
<span class="r-in"><span> <span class="va">df</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span></span></span>
|
<span class="r-in"><span> <span class="va">df</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span></span></span>
|
||||||
@ -299,9 +299,9 @@
|
|||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 3 × 5</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 3 × 5</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> ward n_patients n_episodes_365 n_episodes_60 n_episodes_30</span>
|
<span class="r-out co"><span class="r-pr">#></span> ward n_patients n_episodes_365 n_episodes_60 n_episodes_30</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><int></span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><int></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">1</span> Clinical 123 15 52 74</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">1</span> Clinical 117 15 58 72</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">2</span> ICU 49 13 34 41</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">2</span> ICU 51 12 34 40</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">3</span> Outpatient 12 7 12 12</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">3</span> Outpatient 13 7 11 12</span>
|
||||||
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span> <span class="co"># grouping on patients and microorganisms leads to the same</span></span></span>
|
<span class="r-in"><span> <span class="co"># grouping on patients and microorganisms leads to the same</span></span></span>
|
||||||
@ -320,7 +320,7 @@
|
|||||||
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/identical.html" class="external-link">identical</a></span><span class="op">(</span><span class="va">x</span>, <span class="va">y</span><span class="op">)</span></span></span>
|
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/identical.html" class="external-link">identical</a></span><span class="op">(</span><span class="va">x</span>, <span class="va">y</span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span><span class="op">}</span></span></span>
|
<span class="r-in"><span><span class="op">}</span></span></span>
|
||||||
<span class="r-msg co"><span class="r-pr">#></span> Including isolates from ICU.</span>
|
<span class="r-msg co"><span class="r-pr">#></span> Including isolates from ICU.</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] TRUE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] FALSE</span>
|
||||||
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span> <span class="co"># but is_new_episode() has a lot more flexibility than first_isolate(),</span></span></span>
|
<span class="r-in"><span> <span class="co"># but is_new_episode() has a lot more flexibility than first_isolate(),</span></span></span>
|
||||||
@ -331,19 +331,19 @@
|
|||||||
<span class="r-in"><span> <span class="fu"><a href="https://dplyr.tidyverse.org/reference/select.html" class="external-link">select</a></span><span class="op">(</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/group_data.html" class="external-link">group_vars</a></span><span class="op">(</span><span class="va">.</span><span class="op">)</span>, <span class="va">flag_episode</span><span class="op">)</span></span></span>
|
<span class="r-in"><span> <span class="fu"><a href="https://dplyr.tidyverse.org/reference/select.html" class="external-link">select</a></span><span class="op">(</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/group_data.html" class="external-link">group_vars</a></span><span class="op">(</span><span class="va">.</span><span class="op">)</span>, <span class="va">flag_episode</span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span><span class="op">}</span></span></span>
|
<span class="r-in"><span><span class="op">}</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 200 × 4</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 200 × 4</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># Groups: patient, mo, ward [193]</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># Groups: patient, mo, ward [190]</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> patient mo ward flag_episode</span>
|
<span class="r-out co"><span class="r-pr">#></span> patient mo ward flag_episode</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><lgl></span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><lgl></span> </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 8F77B2 B_STPHY_EPDR Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 3B8892 B_ESCHR_COLI Clinical TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 545388 B_ENTRC Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 835073 B_STPHY_HMNS Clinical TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 6BC362 B_STPHY_CONS ICU TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 375975 B_STPHY_AURS Clinical TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> C58921 B_ESCHR_COLI Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> A49852 B_ESCHR_COLI Clinical TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 4B6270 B_PSDMN_AERG Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 660761 B_STRPT_DYSG Clinical TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> A97263 B_KLBSL_PNMN Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> BF4515 B_ENTRC_FACM ICU TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 871020 B_STPHY_EPDR Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 956065 B_ESCHR_COLI Clinical TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 976997 B_STRPT_PYGN Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> F35553 B_ENTRBC_CLOC ICU FALSE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 223705 B_ENTRBC_CLOC Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 904485 B_STRPT_ANGN ICU TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 739C43 B_ESCHR_COLI Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 5F7C80 B_STPHY_AURS Clinical TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># … with 190 more rows</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># … with 190 more rows</span></span>
|
||||||
<span class="r-in"><span><span class="co"># }</span></span></span>
|
<span class="r-in"><span><span class="co"># }</span></span></span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -172,9 +172,9 @@
|
|||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">kurtosis</span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/stats/Normal.html" class="external-link">rnorm</a></span><span class="op">(</span><span class="fl">10000</span><span class="op">)</span><span class="op">)</span></span></span>
|
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">kurtosis</span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/stats/Normal.html" class="external-link">rnorm</a></span><span class="op">(</span><span class="fl">10000</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 2.962617</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 2.995604</span>
|
||||||
<span class="r-in"><span><span class="fu">kurtosis</span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/stats/Normal.html" class="external-link">rnorm</a></span><span class="op">(</span><span class="fl">10000</span><span class="op">)</span>, excess <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">kurtosis</span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/stats/Normal.html" class="external-link">rnorm</a></span><span class="op">(</span><span class="fl">10000</span><span class="op">)</span>, excess <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.02275182</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 0.02804575</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -200,11 +200,10 @@
|
|||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">x</span> <span class="op"><-</span> <span class="fu"><a href="random.html">random_mic</a></span><span class="op">(</span><span class="fl">10</span><span class="op">)</span></span></span>
|
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">x</span> <span class="op"><-</span> <span class="fu"><a href="random.html">random_mic</a></span><span class="op">(</span><span class="fl">10</span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span><span class="va">x</span></span></span>
|
<span class="r-in"><span><span class="va">x</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 8 16 0.0625 1 <=0.002 32 0.5 0.025 256 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 0.0625 0.0625 1 0.025 8 32 0.5 >=128 0.002 0.0625</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [10] 0.005 </span>
|
|
||||||
<span class="r-in"><span><span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">x</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">x</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.64690309 0.82206573 -0.57923536 0.12141518 -1.44905523 0.99722837</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] -0.55349668 -0.55349668 0.24542211 -0.81752498 0.84461119 1.24407059</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [7] -0.05374745 -0.81078777 1.52271628 -1.21750282</span>
|
<span class="r-out co"><span class="r-pr">#></span> [7] 0.04569241 1.64352998 -1.54531126 -0.55349668</span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="va">y</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
<span class="r-in"><span><span class="va">y</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||||
<span class="r-in"><span> id <span class="op">=</span> <span class="va">LETTERS</span><span class="op">[</span><span class="fl">1</span><span class="op">:</span><span class="fl">10</span><span class="op">]</span>,</span></span>
|
<span class="r-in"><span> id <span class="op">=</span> <span class="va">LETTERS</span><span class="op">[</span><span class="fl">1</span><span class="op">:</span><span class="fl">10</span><span class="op">]</span>,</span></span>
|
||||||
@ -215,37 +214,37 @@
|
|||||||
<span class="r-in"><span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span><span class="va">y</span></span></span>
|
<span class="r-in"><span><span class="va">y</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> id amox cipr gent tobr</span>
|
<span class="r-out co"><span class="r-pr">#></span> id amox cipr gent tobr</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 A <=1 0.5 4 >=8</span>
|
<span class="r-out co"><span class="r-pr">#></span> 1 A 4 0.5 2 4</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 B 8 1 >=8 2</span>
|
<span class="r-out co"><span class="r-pr">#></span> 2 B 1 1 2 <=0.5</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 3 C 16 1 4 0.5</span>
|
<span class="r-out co"><span class="r-pr">#></span> 3 C >=16 0.5 2 >=16</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 4 D 16 0.25 4 >=8</span>
|
<span class="r-out co"><span class="r-pr">#></span> 4 D 4 0.25 >=4 <=0.5</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 5 E 4 >=2 1 2</span>
|
<span class="r-out co"><span class="r-pr">#></span> 5 E 2 <=0.125 2 4</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 6 F 8 >=2 4 0.5</span>
|
<span class="r-out co"><span class="r-pr">#></span> 6 F 2 <=0.125 2 4</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 7 G 8 <=0.125 2 >=8</span>
|
<span class="r-out co"><span class="r-pr">#></span> 7 G >=16 <=0.125 >=4 >=16</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 8 H 8 >=2 >=8 1</span>
|
<span class="r-out co"><span class="r-pr">#></span> 8 H 8 1 >=4 >=16</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 9 I 2 1 1 1</span>
|
<span class="r-out co"><span class="r-pr">#></span> 9 I 1 0.5 1 4</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 10 J 8 1 >=8 0.25</span>
|
<span class="r-out co"><span class="r-pr">#></span> 10 J >=16 0.5 >=4 4</span>
|
||||||
<span class="r-in"><span><span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">y</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">y</span><span class="op">)</span></span></span>
|
||||||
<span class="r-msg co"><span class="r-pr">#></span> ℹ Calculating mean AMR distance based on columns "amox", "cipr", "gent",</span>
|
<span class="r-msg co"><span class="r-pr">#></span> ℹ Calculating mean AMR distance based on columns "amox", "cipr", "gent",</span>
|
||||||
<span class="r-msg co"><span class="r-pr">#></span> "id" and "tobr"</span>
|
<span class="r-msg co"><span class="r-pr">#></span> "id" and "tobr"</span>
|
||||||
<span class="r-wrn co"><span class="r-pr">#></span> <span class="warning">Warning: </span>NAs introduced by coercion</span>
|
<span class="r-wrn co"><span class="r-pr">#></span> <span class="warning">Warning: </span>NAs introduced by coercion</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] -0.2862535 0.4403920 0.1444208 0.3173991 -0.2309563 0.1336952</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] -0.02072625 -0.53283992 0.56658881 -0.27325161 -0.60171721 -0.60171721</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [7] -0.2873676 0.4906058 -0.7522185 0.0302830</span>
|
<span class="r-out co"><span class="r-pr">#></span> [7] 0.51272334 0.99239255 -0.70457864 0.66312613</span>
|
||||||
<span class="r-in"><span><span class="va">y</span><span class="op">$</span><span class="va">amr_distance</span> <span class="op"><-</span> <span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">y</span>, <span class="fu">where</span><span class="op">(</span><span class="va">is.mic</span><span class="op">)</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="va">y</span><span class="op">$</span><span class="va">amr_distance</span> <span class="op"><-</span> <span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">y</span>, <span class="fu">where</span><span class="op">(</span><span class="va">is.mic</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||||
<span class="r-msg co"><span class="r-pr">#></span> ℹ Calculating mean AMR distance based on columns "amox", "cipr", "gent" and</span>
|
<span class="r-msg co"><span class="r-pr">#></span> ℹ Calculating mean AMR distance based on columns "amox", "cipr", "gent" and</span>
|
||||||
<span class="r-msg co"><span class="r-pr">#></span> "tobr"</span>
|
<span class="r-msg co"><span class="r-pr">#></span> "tobr"</span>
|
||||||
<span class="r-in"><span><span class="va">y</span><span class="op">[</span><span class="fu"><a href="https://rdrr.io/r/base/order.html" class="external-link">order</a></span><span class="op">(</span><span class="va">y</span><span class="op">$</span><span class="va">amr_distance</span><span class="op">)</span>, <span class="op">]</span></span></span>
|
<span class="r-in"><span><span class="va">y</span><span class="op">[</span><span class="fu"><a href="https://rdrr.io/r/base/order.html" class="external-link">order</a></span><span class="op">(</span><span class="va">y</span><span class="op">$</span><span class="va">amr_distance</span><span class="op">)</span>, <span class="op">]</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> id amox cipr gent tobr amr_distance</span>
|
<span class="r-out co"><span class="r-pr">#></span> id amox cipr gent tobr amr_distance</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 9 I 2 1 1 1 -0.7522185</span>
|
<span class="r-out co"><span class="r-pr">#></span> 9 I 1 0.5 1 4 -0.70457864</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 7 G 8 <=0.125 2 >=8 -0.2873676</span>
|
<span class="r-out co"><span class="r-pr">#></span> 5 E 2 <=0.125 2 4 -0.60171721</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 A <=1 0.5 4 >=8 -0.2862535</span>
|
<span class="r-out co"><span class="r-pr">#></span> 6 F 2 <=0.125 2 4 -0.60171721</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 5 E 4 >=2 1 2 -0.2309563</span>
|
<span class="r-out co"><span class="r-pr">#></span> 2 B 1 1 2 <=0.5 -0.53283992</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 10 J 8 1 >=8 0.25 0.0302830</span>
|
<span class="r-out co"><span class="r-pr">#></span> 4 D 4 0.25 >=4 <=0.5 -0.27325161</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 6 F 8 >=2 4 0.5 0.1336952</span>
|
<span class="r-out co"><span class="r-pr">#></span> 1 A 4 0.5 2 4 -0.02072625</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 3 C 16 1 4 0.5 0.1444208</span>
|
<span class="r-out co"><span class="r-pr">#></span> 7 G >=16 <=0.125 >=4 >=16 0.51272334</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 4 D 16 0.25 4 >=8 0.3173991</span>
|
<span class="r-out co"><span class="r-pr">#></span> 3 C >=16 0.5 2 >=16 0.56658881</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 B 8 1 >=8 2 0.4403920</span>
|
<span class="r-out co"><span class="r-pr">#></span> 10 J >=16 0.5 >=4 4 0.66312613</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 8 H 8 >=2 >=8 1 0.4906058</span>
|
<span class="r-out co"><span class="r-pr">#></span> 8 H 8 1 >=4 >=16 0.99239255</span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
||||||
<span class="r-in"><span> <span class="va">y</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span></span></span>
|
<span class="r-in"><span> <span class="va">y</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span></span></span>
|
||||||
@ -258,16 +257,16 @@
|
|||||||
<span class="r-msg co"><span class="r-pr">#></span> ℹ Calculating mean AMR distance based on columns "amox", "cipr", "gent" and</span>
|
<span class="r-msg co"><span class="r-pr">#></span> ℹ Calculating mean AMR distance based on columns "amox", "cipr", "gent" and</span>
|
||||||
<span class="r-msg co"><span class="r-pr">#></span> "tobr"</span>
|
<span class="r-msg co"><span class="r-pr">#></span> "tobr"</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> id amox cipr gent tobr amr_distance check_id_C</span>
|
<span class="r-out co"><span class="r-pr">#></span> id amox cipr gent tobr amr_distance check_id_C</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 C 16 1 4 0.5 0.1444208 0.00000000</span>
|
<span class="r-out co"><span class="r-pr">#></span> 1 C >=16 0.5 2 >=16 0.56658881 0.00000000</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 F 8 >=2 4 0.5 0.1336952 0.01072556</span>
|
<span class="r-out co"><span class="r-pr">#></span> 2 G >=16 <=0.125 >=4 >=16 0.51272334 0.05386547</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 3 J 8 1 >=8 0.25 0.0302830 0.11413776</span>
|
<span class="r-out co"><span class="r-pr">#></span> 3 J >=16 0.5 >=4 4 0.66312613 0.09653732</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 4 D 16 0.25 4 >=8 0.3173991 0.17297837</span>
|
<span class="r-out co"><span class="r-pr">#></span> 4 H 8 1 >=4 >=16 0.99239255 0.42580374</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 5 B 8 1 >=8 2 0.4403920 0.29597121</span>
|
<span class="r-out co"><span class="r-pr">#></span> 5 A 4 0.5 2 4 -0.02072625 0.58731506</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 6 H 8 >=2 >=8 1 0.4906058 0.34618501</span>
|
<span class="r-out co"><span class="r-pr">#></span> 6 D 4 0.25 >=4 <=0.5 -0.27325161 0.83984042</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 7 E 4 >=2 1 2 -0.2309563 0.37537710</span>
|
<span class="r-out co"><span class="r-pr">#></span> 7 B 1 1 2 <=0.5 -0.53283992 1.09942873</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 8 A <=1 0.5 4 >=8 -0.2862535 0.43067425</span>
|
<span class="r-out co"><span class="r-pr">#></span> 8 E 2 <=0.125 2 4 -0.60171721 1.16830602</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 9 G 8 <=0.125 2 >=8 -0.2873676 0.43178836</span>
|
<span class="r-out co"><span class="r-pr">#></span> 9 F 2 <=0.125 2 4 -0.60171721 1.16830602</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 10 I 2 1 1 1 -0.7522185 0.89663924</span>
|
<span class="r-out co"><span class="r-pr">#></span> 10 I 1 0.5 1 4 -0.70457864 1.27116745</span>
|
||||||
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
||||||
<span class="r-in"><span> <span class="co"># support for groups</span></span></span>
|
<span class="r-in"><span> <span class="co"># support for groups</span></span></span>
|
||||||
<span class="r-in"><span> <span class="va">example_isolates</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span></span></span>
|
<span class="r-in"><span> <span class="va">example_isolates</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span></span></span>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -12,7 +12,7 @@ This is the fastest way to have your organisation (or analysis) specific codes p
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 24 KiB |
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -12,7 +12,7 @@ resistance() should be used to calculate resistance, susceptibility() should be
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -183,43 +183,42 @@
|
|||||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">random_mic</span><span class="op">(</span><span class="fl">25</span><span class="op">)</span></span></span>
|
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">random_mic</span><span class="op">(</span><span class="fl">25</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.5 0.01 32 1 8 4 0.001 0.01 0.001 >=256 0.125 0.002</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 0.5 >=256 1 128 0.25 0.002 0.01 0.001 0.0625 64 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [13] 128 0.002 0.125 16 >=256 0.5 0.01 0.025 0.5 16 >=256 8 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [11] 0.025 0.25 4 2 0.125 128 0.002 0.125 0.5 0.125 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [25] 4 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [21] 0.01 2 0.01 0.001 0.01 </span>
|
||||||
<span class="r-in"><span><span class="fu">random_disk</span><span class="op">(</span><span class="fl">25</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">random_disk</span><span class="op">(</span><span class="fl">25</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 11 37 41 7 16 27 11 6 46 21 9 47 6 17 37 39 40 39 41 12 25 50 42 29 14</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 9 49 8 40 12 34 34 45 45 47 21 44 18 38 42 17 14 14 40 41 34 45 7 46 47</span>
|
||||||
<span class="r-in"><span><span class="fu">random_rsi</span><span class="op">(</span><span class="fl">25</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">random_rsi</span><span class="op">(</span><span class="fl">25</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'rsi'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'rsi'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] S I S I I R S R S S I I R I R I R S S S S S I I R</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] R S R S R I S S R S S R R S R S S S S R I S I R R</span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="co"># \donttest{</span></span></span>
|
<span class="r-in"><span><span class="co"># \donttest{</span></span></span>
|
||||||
<span class="r-in"><span><span class="co"># make the random generation more realistic by setting a bug and/or drug:</span></span></span>
|
<span class="r-in"><span><span class="co"># make the random generation more realistic by setting a bug and/or drug:</span></span></span>
|
||||||
<span class="r-in"><span><span class="fu">random_mic</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Klebsiella pneumoniae"</span><span class="op">)</span> <span class="co"># range 0.0625-64</span></span></span>
|
<span class="r-in"><span><span class="fu">random_mic</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Klebsiella pneumoniae"</span><span class="op">)</span> <span class="co"># range 0.0625-64</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] >=128 4 0.01 0.25 0.005 0.01 0.25 0.01 >=128 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 0.0625 >=64 0.125 1 0.5 >=64 0.002 32 0.0625 0.25 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [10] 1 <=0.001 2 32 2 8 4 >=128 0.025 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [11] 8 0.001 0.0625 8 4 >=64 1 0.025 0.0625 32 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [19] 0.5 32 8 >=128 4 64 4 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [21] 0.001 1 0.025 4 1 </span>
|
||||||
<span class="r-in"><span><span class="fu">random_mic</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Klebsiella pneumoniae"</span>, <span class="st">"meropenem"</span><span class="op">)</span> <span class="co"># range 0.0625-16</span></span></span>
|
<span class="r-in"><span><span class="fu">random_mic</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Klebsiella pneumoniae"</span>, <span class="st">"meropenem"</span><span class="op">)</span> <span class="co"># range 0.0625-16</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 32 8 >=64 32 4 >=64 16 >=64 2 32 >=64 >=64 4 32 16 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 2 4 2 16 <=1 8 4 8 2 16 16 <=1 <=1 <=1 8 16 16 16 8 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [16] >=64 8 4 4 8 32 >=64 2 16 16 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [20] 2 4 2 4 8 8 </span>
|
||||||
<span class="r-in"><span><span class="fu">random_mic</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Streptococcus pneumoniae"</span>, <span class="st">"meropenem"</span><span class="op">)</span> <span class="co"># range 0.0625-4</span></span></span>
|
<span class="r-in"><span><span class="fu">random_mic</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Streptococcus pneumoniae"</span>, <span class="st">"meropenem"</span><span class="op">)</span> <span class="co"># range 0.0625-4</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.125 8 8 16 8 8 4 0.25 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 0.5 >=16 8 2 0.25 0.5 8 1 >=16 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [9] <=0.0625 16 16 8 16 0.5 8 16 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [10] 8 4 2 0.5 0.0625 >=16 <=0.025 0.0625 4 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [17] 4 <=0.0625 1 1 1 0.5 <=0.0625 0.5 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [19] 0.125 >=16 0.0625 0.0625 0.125 0.0625 0.25 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [25] 0.5 </span>
|
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="fu">random_disk</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Klebsiella pneumoniae"</span><span class="op">)</span> <span class="co"># range 8-50</span></span></span>
|
<span class="r-in"><span><span class="fu">random_disk</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Klebsiella pneumoniae"</span><span class="op">)</span> <span class="co"># range 8-50</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 29 24 16 48 36 18 44 16 9 28 50 15 50 35 23 12 11 19 35 50 35 35 33 35 46</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 49 43 15 49 11 42 31 22 13 10 9 50 50 30 13 14 33 22 36 27 18 40 31 44 46</span>
|
||||||
<span class="r-in"><span><span class="fu">random_disk</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Klebsiella pneumoniae"</span>, <span class="st">"ampicillin"</span><span class="op">)</span> <span class="co"># range 11-17</span></span></span>
|
<span class="r-in"><span><span class="fu">random_disk</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Klebsiella pneumoniae"</span>, <span class="st">"ampicillin"</span><span class="op">)</span> <span class="co"># range 11-17</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 14 14 12 14 14 17 16 17 12 15 14 12 14 11 15 12 15 12 11 14 16 15 16 13 13</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 15 11 15 16 11 16 12 14 16 17 15 13 12 14 16 17 14 17 17 12 13 16 17 15 11</span>
|
||||||
<span class="r-in"><span><span class="fu">random_disk</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Streptococcus pneumoniae"</span>, <span class="st">"ampicillin"</span><span class="op">)</span> <span class="co"># range 12-27</span></span></span>
|
<span class="r-in"><span><span class="fu">random_disk</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Streptococcus pneumoniae"</span>, <span class="st">"ampicillin"</span><span class="op">)</span> <span class="co"># range 12-27</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 16 20 18 23 20 22 24 23 18 27 23 27 26 26 17 21 21 19 23 17 26 25 18 25 18</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 15 25 25 20 26 23 27 23 23 27 24 27 25 25 16 21 25 26 15 17 26 19 18 18 17</span>
|
||||||
<span class="r-in"><span><span class="co"># }</span></span></span>
|
<span class="r-in"><span><span class="co"># }</span></span></span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -12,7 +12,7 @@ When negative ('left-skewed'): the left tail is longer; the mass of the distribu
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -171,7 +171,7 @@ When negative ('left-skewed'): the left tail is longer; the mass of the distribu
|
|||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">skewness</span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/stats/Uniform.html" class="external-link">runif</a></span><span class="op">(</span><span class="fl">1000</span><span class="op">)</span><span class="op">)</span></span></span>
|
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">skewness</span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/stats/Uniform.html" class="external-link">runif</a></span><span class="op">(</span><span class="fl">1000</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.009640091</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] -0.02095452</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9051</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9052</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|