<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0</span>
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9007</span>
</span>
</div>
@ -275,7 +275,8 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@@ -275,7 +275,8 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@ -291,7 +292,8 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@@ -291,7 +292,8 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
<spanclass='kw'>ab</span><spanclass='kw'>=</span><spanclass='st'>"ampicillin"</span>, <spanclass='co'># and `ab` with as.ab()</span>
@ -307,7 +309,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@@ -307,7 +309,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
</div>
<divclass="pkgdown">
<p>Site built with <ahref="https://pkgdown.r-lib.org/">pkgdown</a> 1.5.0.</p>
<p>Site built with <ahref="https://pkgdown.r-lib.org/">pkgdown</a> 1.5.1.</p>
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9004</span>
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9007</span>
</span>
</div>
@ -353,7 +353,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@@ -353,7 +353,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@ -376,7 +376,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@@ -376,7 +376,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@ -400,6 +400,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@@ -400,6 +400,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
<spanclass='fu'><ahref='https://rdrr.io/r/base/plot.html'>plot</a></span>(<spanclass='no'>rsi_data</span>) <spanclass='co'># for percentages</span>
<spanclass='fu'><ahref='https://rdrr.io/r/graphics/barplot.html'>barplot</a></span>(<spanclass='no'>rsi_data</span>) <spanclass='co'># for frequencies</span>
@ -414,7 +415,8 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@@ -414,7 +415,8 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
<spanclass='co'># default threshold of `is.rsi.eligible` is 5%.</span>
<spanclass='fu'>is.rsi.eligible</span>(<spanclass='no'>WHONET</span>$<spanclass='no'>`First name`</span>) <spanclass='co'># fails, >80% is invalid</span>
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0</span>
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9007</span>
</span>
</div>
@ -315,7 +315,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>questioni
@@ -315,7 +315,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>questioni
<p>On our website <ahref='https://msberends.gitlab.io/AMR'>https://msberends.gitlab.io/AMR</a> you can find <ahref='https://msberends.gitlab.io/AMR/articles/AMR.html'>a comprehensive tutorial</a> about how to conduct AMR analysis, the <ahref='https://msberends.gitlab.io/AMR/reference'>complete documentation of all functions</a> (which reads a lot easier than here in R) and <ahref='https://msberends.gitlab.io/AMR/articles/WHONET.html'>an example analysis using WHONET data</a>.</p>
<spanclass='co'># parenteral DDD (Defined Daily Dose) of amoxicillin</span>
@ -326,7 +326,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>questioni
@@ -326,7 +326,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>questioni
<spanclass='co'># [2] "ANTIBACTERIALS FOR SYSTEMIC USE"</span>
@ -342,7 +342,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>questioni
@@ -342,7 +342,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>questioni
</div>
<divclass="pkgdown">
<p>Site built with <ahref="https://pkgdown.r-lib.org/">pkgdown</a> 1.5.0.</p>
<p>Site built with <ahref="https://pkgdown.r-lib.org/">pkgdown</a> 1.5.1.</p>
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0</span>
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9007</span>
</span>
</div>
@ -272,6 +272,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@@ -272,6 +272,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@ -282,7 +283,8 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@@ -282,7 +283,8 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@ -298,7 +300,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@@ -298,7 +300,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
</div>
<divclass="pkgdown">
<p>Site built with <ahref="https://pkgdown.r-lib.org/">pkgdown</a> 1.5.0.</p>
<p>Site built with <ahref="https://pkgdown.r-lib.org/">pkgdown</a> 1.5.1.</p>
@ -83,7 +83,7 @@ count_resistant() should be used to count resistant isolates, count_susceptible(
@@ -83,7 +83,7 @@ count_resistant() should be used to count resistant isolates, count_susceptible(
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9005</span>
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9007</span>
</span>
</div>
@ -392,7 +392,7 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
@@ -392,7 +392,7 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9004</span>
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9007</span>
</span>
</div>
@ -412,44 +412,45 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>maturing<
@@ -412,44 +412,45 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>maturing<
<p>On our website <ahref='https://msberends.gitlab.io/AMR'>https://msberends.gitlab.io/AMR</a> you can find <ahref='https://msberends.gitlab.io/AMR/articles/AMR.html'>a comprehensive tutorial</a> about how to conduct AMR analysis, the <ahref='https://msberends.gitlab.io/AMR/reference'>complete documentation of all functions</a> (which reads a lot easier than here in R) and <ahref='https://msberends.gitlab.io/AMR/articles/WHONET.html'>an example analysis using WHONET data</a>.</p>
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9004</span>
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9007</span>
</span>
</div>
@ -388,6 +388,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@@ -388,6 +388,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
<preclass="examples"><spanclass='co'># `example_isolates` is a dataset available in the AMR package.</span>
@ -402,7 +403,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@@ -402,7 +403,7 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
<spanclass='co'># Check the difference, in this data set it results in 7% more isolates:</span>
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9004</span>
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9007</span>
</span>
</div>
@ -306,10 +306,12 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
@@ -306,10 +306,12 @@ The <a href='lifecycle.html'>lifecycle</a> of this function is <strong>stable</s
<spanclass='co'>#> TRUE TRUE TRUE</span>
<spanclass='co'># get isolates whose name start with 'Ent' or 'ent'</span>
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9004</span>
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9007</span>
</span>
</div>
@ -440,7 +440,7 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
@@ -440,7 +440,7 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
<p>On our website <ahref='https://msberends.gitlab.io/AMR'>https://msberends.gitlab.io/AMR</a> you can find <ahref='https://msberends.gitlab.io/AMR/articles/AMR.html'>a comprehensive tutorial</a> about how to conduct AMR analysis, the <ahref='https://msberends.gitlab.io/AMR/reference'>complete documentation of all functions</a> (which reads a lot easier than here in R) and <ahref='https://msberends.gitlab.io/AMR/articles/WHONET.html'>an example analysis using WHONET data</a>.</p>
@ -451,7 +451,7 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
@@ -451,7 +451,7 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
@ -83,7 +83,7 @@ resistance() should be used to calculate resistance, susceptibility() should be
@@ -83,7 +83,7 @@ resistance() should be used to calculate resistance, susceptibility() should be
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9005</span>
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9007</span>
</span>
</div>
@ -398,8 +398,7 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
@@ -398,8 +398,7 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
@ -456,7 +455,9 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
@@ -456,7 +455,9 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9004</span>
<spanclass="version label label-default"data-toggle="tooltip"data-placement="bottom"title="Latest development version">1.1.0.9007</span>
</span>
</div>
@ -393,11 +393,12 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
@@ -393,11 +393,12 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
@ -410,7 +411,7 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
@@ -410,7 +411,7 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
}
<spanclass='co'># create nice plots with ggplot2 yourself</span>
@ -38,6 +38,7 @@ On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https://
@@ -38,6 +38,7 @@ On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https://
}
\examples{
\dontrun{
# transform existing disk zones to the `disk` class
@ -75,7 +75,7 @@ On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https://
@@ -75,7 +75,7 @@ On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https://
}
\examples{
\donttest{
\dontrun{
# oral DDD (Defined Daily Dose) of amoxicillin
atc_online_property("J01CA04", "DDD", "O")
# parenteral DDD (Defined Daily Dose) of amoxicillin
@ -36,6 +36,7 @@ On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https://
@@ -36,6 +36,7 @@ On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https://
@ -147,44 +147,45 @@ On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https://
@@ -147,44 +147,45 @@ On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https://
}
\examples{
library(dplyr)
library(ggplot2)
# get antimicrobial results for drugs against a UTI:
@ -136,6 +136,7 @@ On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https://
@@ -136,6 +136,7 @@ On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https://
# `example_isolates` is a dataset available in the AMR package.
@ -206,7 +206,7 @@ On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https://
@@ -206,7 +206,7 @@ On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https://