Built site for AMR: 1.8.2.9076@77d9cf1
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -62,7 +62,7 @@ Principal component analysis for AMR
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -127,17 +127,17 @@ Principal component analysis for AMR
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
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: 13 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.3 KiB |
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
@@ -195,16 +195,16 @@
|
||||
<span class="r-in"><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> 1 1987-11-14 35 35.12329 12</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 1947-09-16 75 75.28493 52</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 3 1934-08-16 88 88.36986 65</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 4 1953-01-01 69 69.99178 47</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 5 1982-06-29 40 40.50137 17</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 6 1933-10-19 89 89.19452 66</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 7 1948-12-01 74 74.07671 51</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 8 1957-06-21 65 65.52329 42</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 9 1983-07-20 39 39.44384 16</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 10 1950-11-05 72 72.14795 49</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 1 1981-01-25 41 41.92877 18</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 1980-07-25 42 42.43288 19</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 3 1991-10-10 31 31.22192 8</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 4 1967-05-14 55 55.63014 32</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 5 1999-10-10 23 23.22192 0</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 6 1970-08-21 52 52.35890 29</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 7 1967-02-25 55 55.84384 32</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 8 1963-10-06 59 59.23288 36</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 9 1964-12-12 58 58.04932 35</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 10 1958-12-04 64 64.07123 41</span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</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>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
@@ -245,7 +245,7 @@
|
||||
<span class="r-in"><span><span class="op">)</span></span></span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Interpreting MIC values of 'AMX' (amoxicillin) according to EUCAST</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> 2022...</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> * NOTE *</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Note:</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> • Multiple breakpoints available for amoxicillin (AMX) in Streptococcus</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> pneumoniae - assuming body site 'Meningitis'.</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Class 'rsi'</span>
|
||||
@@ -258,7 +258,7 @@
|
||||
<span class="r-in"><span><span class="op">)</span></span></span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Interpreting MIC values of 'AMX' (amoxicillin) according to EUCAST</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> 2022...</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> * NOTE *</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Note:</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> • Multiple breakpoints available for amoxicillin (AMX) in Streptococcus</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> pneumoniae - assuming body site 'Meningitis'.</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Class 'rsi'</span>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
@@ -486,13 +486,13 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
|
||||
<span class="r-msg co"><span class="r-pr">#></span> OK.</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Interpreting disk diffusion zones of column 'GEN' (gentamicin) according</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> to EUCAST 2022...</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> * NOTE *</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Note:</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> • Breakpoints for UTI and non-UTI available for gentamicin (GEN) in</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Escherichia coli - assuming non-UTI. Use argument uti to set which</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> isolates are from urine. See ?as.rsi.</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Interpreting disk diffusion zones of column 'TOB' (tobramycin) according</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> to EUCAST 2022...</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> * NOTE *</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Note:</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> • Breakpoints for UTI and non-UTI available for tobramycin (TOB) in</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Escherichia coli - assuming non-UTI. Use argument uti to set which</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> isolates are from urine. See ?as.rsi.</span>
|
||||
@@ -506,16 +506,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> datetime index ab_input ab_gu…¹ mo_in…² mo_guideline 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: #BCBCBC;"> 1</span> 2022-12-29 <span style="color: #949494;">15:28:10</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-12-29 <span style="color: #949494;">15:28:11</span> 1 AMP AMP Escher… B_[ORD]_ENTRBCTR EUCAST…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 2022-12-29 <span style="color: #949494;">15:28:11</span> 1 CIP CIP Escher… B_[ORD]_ENTRBCTR EUCAST…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 2022-12-29 <span style="color: #949494;">15:28:12</span> 1 GEN GEN Escher… B_[ORD]_ENTRBCTR EUCAST…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 2022-12-29 <span style="color: #949494;">15:28:12</span> 1 TOB TOB Escher… B_[ORD]_ENTRBCTR EUCAST…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 2022-12-29 <span style="color: #949494;">15:28:13</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-12-29 <span style="color: #949494;">15:28:14</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-12-29 <span style="color: #949494;">15:28:14</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-12-29 <span style="color: #949494;">15:28:14</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-12-29 <span style="color: #949494;">15:28:14</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;"> 1</span> 2022-12-30 <span style="color: #949494;">12:07:24</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-12-30 <span style="color: #949494;">12:07:25</span> 1 AMP AMP Escher… B_[ORD]_ENTRBCTR EUCAST…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 2022-12-30 <span style="color: #949494;">12:07:25</span> 1 CIP CIP Escher… B_[ORD]_ENTRBCTR EUCAST…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 2022-12-30 <span style="color: #949494;">12:07:26</span> 1 GEN GEN Escher… B_[ORD]_ENTRBCTR EUCAST…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 2022-12-30 <span style="color: #949494;">12:07:26</span> 1 TOB TOB Escher… B_[ORD]_ENTRBCTR EUCAST…</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 2022-12-30 <span style="color: #949494;">12:07:27</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-12-30 <span style="color: #949494;">12:07:28</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-12-30 <span style="color: #949494;">12:07:28</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-12-30 <span style="color: #949494;">12:07:28</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-12-30 <span style="color: #949494;">12:07:28</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;"># 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 ¹ab_guideline, ²mo_input, ³guideline</span></span>
|
||||
@@ -529,7 +529,7 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
|
||||
<span class="r-in"><span><span class="op">)</span></span></span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Interpreting MIC values of 'AMP' (ampicillin) according to EUCAST</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> 2022...</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> * NOTE *</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Note:</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> • Multiple breakpoints available for ampicillin (AMP) in Streptococcus</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> pneumoniae - assuming body site 'Non-meningitis'.</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Class 'rsi'</span>
|
||||
@@ -591,13 +591,13 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
|
||||
<span class="r-msg co"><span class="r-pr">#></span> OK.</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Interpreting disk diffusion zones of 'GEN' (gentamicin) based on column</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> 'microorganism' according to EUCAST 2022...</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> * NOTE *</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Note:</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> • Breakpoints for UTI and non-UTI available for gentamicin (GEN) in</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Escherichia coli - assuming non-UTI. Use argument uti to set which</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> isolates are from urine. See ?as.rsi.</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Interpreting disk diffusion zones of 'TOB' (tobramycin) based on column</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> 'microorganism' according to EUCAST 2022...</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> * NOTE *</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Note:</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> • Breakpoints for UTI and non-UTI available for tobramycin (TOB) in</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Escherichia coli - assuming non-UTI. Use argument uti to set which</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> isolates are from urine. See ?as.rsi.</span>
|
||||
@@ -615,13 +615,13 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
|
||||
<span class="r-msg co"><span class="r-pr">#></span> OK.</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Interpreting disk diffusion zones of 'GEN' (gentamicin) based on column</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> 'microorganism' according to EUCAST 2022...</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> * NOTE *</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Note:</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> • Breakpoints for UTI and non-UTI available for gentamicin (GEN) in</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Escherichia coli - assuming non-UTI. Use argument uti to set which</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> isolates are from urine. See ?as.rsi.</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Interpreting disk diffusion zones of 'TOB' (tobramycin) based on column</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> 'microorganism' according to EUCAST 2022...</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> * NOTE *</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Note:</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> • Breakpoints for UTI and non-UTI available for tobramycin (TOB) in</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Escherichia coli - assuming non-UTI. Use argument uti to set which</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> isolates are from urine. See ?as.rsi.</span>
|
||||
@@ -633,13 +633,13 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
|
||||
<span class="r-msg co"><span class="r-pr">#></span> OK.</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Interpreting disk diffusion zones of 'GEN' (gentamicin) based on column</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> 'microorganism' according to EUCAST 2022...</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> * NOTE *</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Note:</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> • Breakpoints for UTI and non-UTI available for gentamicin (GEN) in</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Escherichia coli - assuming non-UTI. Use argument uti to set which</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> isolates are from urine. See ?as.rsi.</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Interpreting disk diffusion zones of 'TOB' (tobramycin) based on column</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> 'microorganism' according to EUCAST 2022...</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> * NOTE *</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Note:</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> • Breakpoints for UTI and non-UTI available for tobramycin (TOB) in</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Escherichia coli - assuming non-UTI. Use argument uti to set which</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> isolates are from urine. See ?as.rsi.</span>
|
||||
@@ -651,13 +651,13 @@ A microorganism is categorised as <em>Susceptible, Increased exposure</em> when
|
||||
<span class="r-msg co"><span class="r-pr">#></span> OK.</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Interpreting disk diffusion zones of 'GEN' (gentamicin) according to</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> EUCAST 2022...</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> * NOTE *</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Note:</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> • Breakpoints for UTI and non-UTI available for gentamicin (GEN) in</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Escherichia coli - assuming non-UTI. Use argument uti to set which</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> isolates are from urine. See ?as.rsi.</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> => Interpreting disk diffusion zones of 'TOB' (tobramycin) according to</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> EUCAST 2022...</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> * NOTE *</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Note:</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> • Breakpoints for UTI and non-UTI available for tobramycin (TOB) in</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Escherichia coli - assuming non-UTI. Use argument uti to set which</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> isolates are from urine. See ?as.rsi.</span>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -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>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -77,17 +77,17 @@ count_resistant() should be used to count resistant isolates, count_susceptible(
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -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>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -77,17 +77,17 @@ To improve the interpretation of the antibiogram before EUCAST rules are applied
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -12,7 +12,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -77,17 +77,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
@@ -160,7 +160,7 @@
|
||||
|
||||
|
||||
<dt>p</dt>
|
||||
<dd><p>a vector of probabilities of the same length as <code>x</code>.
|
||||
<dd><p>a vector of probabilities of the same length of <code>x</code>.
|
||||
An error is given if any entry of <code>p</code> is negative.</p></dd>
|
||||
|
||||
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
@@ -182,40 +182,42 @@
|
||||
<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 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] 8 55 12 47 32 25 57 62 55 32 39 17 62 15 26 41 61 25 44 32 50 54 60 55 33</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [26] 40 36 37 9 32 6 50 12 61 50 4 61 10 19 27 7 38 48 31 63 27 31 46 61 52</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [51] 34 34 49 8 10 33 13 27 37 12 5 36 47 2 9 8 28 15 15 50 6 30 14 38 13</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [76] 25 61 48 53 4 2 37 43 2 63 62 51 49 20 43 7 45 39 51 59 59 40 12 42 60</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [101] 53 7 24 5 36 16 14 64 38 36 58 16 62 10 56 28 31 28 26 1 38 59 57 57 51</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [126] 17 35 61 6 30 16 2 4 25 37 39 19 7 44 15 24 6 21 63 38 63 52 15 28 30</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [151] 39 11 57 39 13 31 62 62 9 18 42 61 62 62 10 6 13 26 34 41 8 3 59 42 24</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [176] 23 12 9 48 45 25 22 29 36 18 11 3 47 11 21 58 55 46 40 14 42 20 20 49 14</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 67 8 32 43 12 22 22 31 7 57 67 15 29 40 20 1 43 49 7 45 64 1 31 67 1</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [26] 65 20 55 41 2 9 20 31 60 61 36 24 41 34 41 62 34 20 5 11 63 49 41 61 46</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [51] 16 33 28 29 51 50 29 61 14 7 18 10 60 18 47 59 22 16 55 33 64 33 48 3 58</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [76] 57 6 31 40 21 36 24 61 14 57 26 2 24 27 12 12 22 17 9 18 66 34 14 3 5</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [101] 53 67 38 1 18 65 33 46 46 51 4 17 5 1 55 40 44 20 51 38 50 38 18 47 62</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [126] 12 14 18 51 25 31 35 30 40 14 61 54 47 16 67 36 14 39 23 55 7 56 39 13 21</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [151] 12 44 25 35 50 27 51 2 1 58 49 20 60 52 66 63 17 31 19 47 15 52 64 31 17</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [176] 25 30 8 54 36 39 21 51 23 64 3 66 19 38 3 27 26 44 6 48 11 42 61 5 37</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 FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [13] FALSE TRUE FALSE TRUE FALSE FALSE TRUE FALSE FALSE TRUE TRUE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [25] FALSE FALSE TRUE FALSE TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [37] FALSE FALSE FALSE FALSE TRUE FALSE TRUE TRUE FALSE TRUE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [49] FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE TRUE FALSE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [61] TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [73] FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE TRUE TRUE TRUE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [85] FALSE FALSE TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [97] FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE TRUE FALSE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [109] TRUE FALSE TRUE FALSE FALSE FALSE TRUE FALSE FALSE TRUE FALSE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [121] FALSE TRUE FALSE TRUE FALSE TRUE TRUE FALSE FALSE FALSE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [133] FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE TRUE TRUE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [145] FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [157] FALSE FALSE FALSE FALSE FALSE TRUE FALSE TRUE FALSE FALSE FALSE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [169] TRUE FALSE FALSE FALSE FALSE TRUE FALSE TRUE TRUE FALSE FALSE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [181] TRUE TRUE TRUE FALSE TRUE FALSE TRUE TRUE TRUE FALSE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [193] TRUE TRUE TRUE FALSE TRUE FALSE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] FALSE TRUE TRUE TRUE FALSE FALSE FALSE FALSE TRUE FALSE FALSE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [13] TRUE TRUE TRUE FALSE FALSE TRUE FALSE TRUE FALSE FALSE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [25] FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE TRUE TRUE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [37] FALSE FALSE TRUE FALSE TRUE FALSE FALSE FALSE TRUE FALSE FALSE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [49] TRUE TRUE FALSE FALSE TRUE FALSE FALSE TRUE FALSE FALSE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [61] FALSE TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE FALSE FALSE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [73] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [85] TRUE FALSE TRUE TRUE FALSE FALSE TRUE TRUE TRUE TRUE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [97] FALSE FALSE FALSE FALSE TRUE FALSE TRUE FALSE FALSE TRUE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [109] FALSE FALSE TRUE FALSE TRUE FALSE FALSE FALSE TRUE FALSE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [121] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [133] FALSE FALSE FALSE FALSE FALSE TRUE FALSE TRUE FALSE TRUE TRUE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [145] FALSE FALSE TRUE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [157] TRUE FALSE TRUE TRUE FALSE FALSE FALSE TRUE TRUE TRUE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [169] FALSE FALSE FALSE FALSE TRUE FALSE FALSE TRUE TRUE FALSE TRUE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [181] FALSE TRUE FALSE FALSE FALSE TRUE FALSE TRUE FALSE FALSE TRUE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [193] FALSE TRUE TRUE FALSE TRUE FALSE FALSE TRUE</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="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-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 2 × 46</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 4 × 46</span></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: #BCBCBC;">1</span> 2002-07-30 218912 76 F ICU 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;">1</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 426426 67 F ICU B_ESCHR_COLI R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">3</span> 2002-06-06 24D393 20 F Clinical B_ESCHR_COLI R NA NA NA </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">4</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;"># 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>
|
||||
@@ -251,16 +253,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> 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: #BCBCBC;"> 1</span> 739C43 2003-09-26 B FALSE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 645121 2015-10-15 A FALSE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> C21760 2004-12-28 B FALSE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> A97263 2013-11-23 C TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 09B453 2010-03-21 B TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 207752 2008-07-11 C FALSE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 772724 2016-05-24 A FALSE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 6FC260 2017-06-07 C FALSE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> A76045 2015-10-07 C FALSE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 4F6830 2010-03-12 C FALSE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 5DB1C8 2017-12-28 B FALSE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 4DD722 2003-06-02 A FALSE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> C7C641 2008-12-27 A FALSE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 704554 2012-01-01 B FALSE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 304508 2004-05-09 B FALSE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> E27874 2006-12-19 B FALSE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 418311 2006-11-10 B FALSE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 501361 2008-11-01 A TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 6BC362 2003-04-02 A TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> D40405 2015-06-03 C 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-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>
|
||||
@@ -272,19 +274,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-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 [183]</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> <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 2003-09-26 739C43 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> Clinical 2015-10-15 645121 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> ICU 2004-12-28 C21760 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> Clinical 2013-11-23 A97263 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> Clinical 2010-03-21 09B453 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> ICU 2008-07-11 207752 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> Clinical 2016-05-24 772724 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> ICU 2017-06-07 6FC260 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> ICU 2015-10-07 A76045 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> Clinical 2010-03-12 4F6830 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># Groups: ward, patient [177]</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> <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 2017-12-28 5DB1C8 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> ICU 2003-06-02 4DD722 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> Outpatient 2008-12-27 C7C641 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> ICU 2012-01-01 704554 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> Clinical 2004-05-09 304508 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> Clinical 2006-12-19 E27874 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> ICU 2006-11-10 418311 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> Clinical 2008-11-01 501361 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> ICU 2003-04-02 6BC362 1 TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> ICU 2015-06-03 D40405 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-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>
|
||||
@@ -299,9 +301,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> 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: #BCBCBC;">1</span> Clinical 121 14 58 76</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">2</span> ICU 46 11 29 34</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">3</span> Outpatient 16 8 15 16</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">1</span> Clinical 115 14 50 71</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">2</span> ICU 56 13 37 43</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">3</span> Outpatient 6 4 5 5</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 class="co"># grouping on patients and microorganisms leads to the same</span></span></span>
|
||||
@@ -331,19 +333,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="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;"># 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> <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> 739C43 B_ESCHR_COLI Clinical TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 645121 B_SERRT_MRCS Clinical TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> C21760 B_STPHY_EPDR ICU TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> A97263 B_KLBSL_PNMN Clinical TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 09B453 B_STPHY_AURS Clinical TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 207752 B_ENTRC_FCLS ICU TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 772724 B_STPHY_CPTS Clinical TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 6FC260 B_STPHY_HMNS ICU TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> A76045 B_ENTRC_FACM ICU TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 4F6830 B_KLBSL_PNMN Clinical TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># Groups: patient, mo, ward [191]</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> <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> 5DB1C8 B_STPHY_CPTS Clinical TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 4DD722 B_ESCHR_COLI ICU TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> C7C641 B_STPHY_CONS Outpatient TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 704554 B_STPHY_CONS ICU TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 304508 B_STRPT_PNMN Clinical TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> E27874 B_STRPT_PNMN Clinical TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 418311 B_STPHY_EPDR ICU TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 501361 B_ESCHR_COLI Clinical TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 6BC362 B_STRPT_PNMN ICU TRUE </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> D40405 B_ENTRC_FCLS ICU 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-in"><span><span class="co"># }</span></span></span>
|
||||
</code></pre></div>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
@@ -133,7 +133,7 @@
|
||||
<div class="section level2">
|
||||
<h2 id="preparing-data-microorganisms">Preparing data: microorganisms<a class="anchor" aria-label="anchor" href="#preparing-data-microorganisms"></a></h2>
|
||||
|
||||
<p class="section-desc"></p><p>These functions are meant to get taxonomically valid properties of microorganisms from any input. Use <code><a href="../reference/mo_source.html">mo_source()</a></code> to teach this package how to translate your own codes to valid microorganism codes.</p>
|
||||
<p class="section-desc"></p><p>These functions are meant to get taxonomically valid properties of microorganisms from any input, but also properties derived from taxonomy, such as the Gram stain (<code><a href="../reference/mo_property.html">mo_gramstain()</a></code>) , or <code><a href="../reference/mo_property.html">mo_is_yeast()</a></code>. Use <code><a href="../reference/mo_source.html">mo_source()</a></code> to teach this package how to translate your own codes to valid microorganisms, and use `add_custom_microorganisms() to add your own custom microorganisms to this package.</p>
|
||||
|
||||
|
||||
</div><div id="" class="section level2">
|
||||
@@ -298,7 +298,7 @@
|
||||
|
||||
<code><a href="mean_amr_distance.html">mean_amr_distance()</a></code> <code><a href="mean_amr_distance.html">amr_distance_from_row()</a></code>
|
||||
</dt>
|
||||
<dd>Mean AMR Distance</dd>
|
||||
<dd>Calculate the Mean AMR Distance</dd>
|
||||
</dl><dl><dt>
|
||||
|
||||
<code><a href="resistance_predict.html">resistance_predict()</a></code> <code><a href="resistance_predict.html">rsi_predict()</a></code> <code><a href="resistance_predict.html">plot(<i><resistance_predict></i>)</a></code> <code><a href="resistance_predict.html">ggplot_rsi_predict()</a></code> <code><a href="resistance_predict.html">autoplot(<i><resistance_predict></i>)</a></code>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
@@ -172,9 +172,9 @@
|
||||
<div class="section level2">
|
||||
<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>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 2.983304</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 2.979693</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.02950061</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.0343079</span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</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>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="This function calculates a normalised mean for antimicrobial resistance between multiple observations."><title>Mean AMR Distance — mean_amr_distance • AMR (for R)</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.2.2/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.2.2/bootstrap.bundle.min.js"></script><link href="../deps/Fira_Code-0.4.4/font.css" rel="stylesheet"><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><link href="../extra.css" rel="stylesheet"><script src="../extra.js"></script><meta property="og:title" content="Mean AMR Distance — mean_amr_distance"><meta property="og:description" content="This function calculates a normalised mean for antimicrobial resistance between multiple observations."><meta property="og:image" content="https://msberends.github.io/AMR/logo.svg"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:creator" content="@msberends"><meta name="twitter:site" content="@msberends"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="Calculates a normalised mean for antimicrobial resistance between multiple observations, to help to identify similar isolates without comparing antibiograms by hand."><title>Calculate the Mean AMR Distance — mean_amr_distance • AMR (for R)</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.2.2/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.2.2/bootstrap.bundle.min.js"></script><link href="../deps/Fira_Code-0.4.4/font.css" rel="stylesheet"><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><link href="../extra.css" rel="stylesheet"><script src="../extra.js"></script><meta property="og:title" content="Calculate the Mean AMR Distance — mean_amr_distance"><meta property="og:description" content="Calculates a normalised mean for antimicrobial resistance between multiple observations, to help to identify similar isolates without comparing antibiograms by hand."><meta property="og:image" content="https://msberends.github.io/AMR/logo.svg"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:creator" content="@msberends"><meta name="twitter:site" content="@msberends"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]--></head><body>
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
@@ -127,28 +127,19 @@
|
||||
</nav><div class="container template-reference-topic">
|
||||
<div class="row">
|
||||
<main id="main" class="col-md-9"><div class="page-header">
|
||||
<img src="../logo.svg" class="logo" alt=""><h1>Mean AMR Distance</h1>
|
||||
<img src="../logo.svg" class="logo" alt=""><h1>Calculate the Mean AMR Distance</h1>
|
||||
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/HEAD/R/mean_amr_distance.R" class="external-link"><code>R/mean_amr_distance.R</code></a></small>
|
||||
<div class="d-none name"><code>mean_amr_distance.Rd</code></div>
|
||||
</div>
|
||||
|
||||
<div class="ref-description section level2">
|
||||
<p>This function calculates a normalised mean for antimicrobial resistance between multiple observations.</p>
|
||||
<p>Calculates a normalised mean for antimicrobial resistance between multiple observations, to help to identify similar isolates without comparing antibiograms by hand.</p>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">x</span>, <span class="va">...</span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="co"># S3 method for default</span></span>
|
||||
<span><span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">x</span>, <span class="va">...</span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="co"># S3 method for mic</span></span>
|
||||
<span><span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">x</span>, <span class="va">...</span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="co"># S3 method for disk</span></span>
|
||||
<span><span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">x</span>, <span class="va">...</span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="co"># S3 method for rsi</span></span>
|
||||
<span><span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">x</span>, <span class="va">...</span>, combine_SI <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
@@ -165,7 +156,7 @@
|
||||
|
||||
|
||||
<dt>...</dt>
|
||||
<dd><p>variables to select (supports tidy selection such as <code>column1:column4</code> and <code><a href="https://tidyselect.r-lib.org/reference/language.html" class="external-link">where(is.mic)</a></code>), and can thus also be <a href="antibiotic_class_selectors.html">antibiotic selectors</a></p></dd>
|
||||
<dd><p>variables to select (supports <a href="https://tidyselect.r-lib.org/reference/language.html" class="external-link">tidyselect language</a> such as <code>column1:column4</code> and <code>where(is.mic)</code>, and can thus also be <a href="antibiotic_class_selectors.html">antibiotic selectors</a></p></dd>
|
||||
|
||||
|
||||
<dt>combine_SI</dt>
|
||||
@@ -200,11 +191,11 @@
|
||||
<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-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.125 1 0.125 16 0.5 0.005 0.025 0.25 >=32 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [10] <=0.001</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.01 0.002 >=256 1 <=0.001 0.01 64 0.005 64 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [10] >=256 </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.15089674 0.48954269 -0.15089674 1.34346192 0.27606288 -1.14226627</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [7] -0.64658150 0.06258307 1.55694173 -1.63795104</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] -0.7233354 -1.0310806 1.2175417 0.1572324 -1.1636193 -0.7233354</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [7] 0.9524644 -0.8558740 0.9524644 1.2175417</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> 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 +206,37 @@
|
||||
<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-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 8 2 <=1 <=1</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 B <=2 2 16 <=1</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 3 C >=16 >=4 2 <=1</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 4 D >=16 0.125 2 2</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 5 E 4 >=4 <=1 8</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 6 F 4 >=4 8 2</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 7 G <=2 0.125 2 <=1</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 8 H >=16 0.25 <=1 4</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 9 I >=16 0.25 8 8</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 10 J <=2 0.5 <=1 <=1</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 1 A 8 1 2 2</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 B 32 >=4 1 >=8</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 3 C 4 0.25 4 1</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 4 D 16 >=4 2 2</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 5 E 4 >=4 1 2</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 6 F 16 1 4 4</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 7 G 4 0.5 1 >=8</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 8 H 4 0.25 1 2</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 9 I 16 0.5 1 0.5</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 10 J 8 0.125 >=8 0.5</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> "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-out co"><span class="r-pr">#></span> [1] -0.18987114 0.10887987 0.28105302 -0.11068834 0.34470481 0.44567516</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [7] -0.86673217 0.04090765 0.74321579 -0.79714465</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.0410109 0.8951387 -0.4091718 0.5415853 -0.1399200 0.6721245</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [7] -0.1964756 -0.6867320 -0.4492455 -0.2683146</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> "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-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> 7 G <=2 0.125 2 <=1 -0.86673217</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 10 J <=2 0.5 <=1 <=1 -0.79714465</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 1 A 8 2 <=1 <=1 -0.18987114</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 4 D >=16 0.125 2 2 -0.11068834</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 8 H >=16 0.25 <=1 4 0.04090765</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 B <=2 2 16 <=1 0.10887987</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 3 C >=16 >=4 2 <=1 0.28105302</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 5 E 4 >=4 <=1 8 0.34470481</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 6 F 4 >=4 8 2 0.44567516</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 9 I >=16 0.25 8 8 0.74321579</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 8 H 4 0.25 1 2 -0.6867320</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 9 I 16 0.5 1 0.5 -0.4492455</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 3 C 4 0.25 4 1 -0.4091718</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 10 J 8 0.125 >=8 0.5 -0.2683146</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 7 G 4 0.5 1 >=8 -0.1964756</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 5 E 4 >=4 1 2 -0.1399200</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 1 A 8 1 2 2 0.0410109</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 4 D 16 >=4 2 2 0.5415853</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 6 F 16 1 4 4 0.6721245</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 B 32 >=4 1 >=8 0.8951387</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="va">y</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span></span></span>
|
||||
@@ -258,16 +249,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> "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> 1 C >=16 >=4 2 <=1 0.28105302 0.00000000</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 E 4 >=4 <=1 8 0.34470481 0.06365179</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 3 F 4 >=4 8 2 0.44567516 0.16462214</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 4 B <=2 2 16 <=1 0.10887987 0.17217315</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 5 H >=16 0.25 <=1 4 0.04090765 0.24014537</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 6 D >=16 0.125 2 2 -0.11068834 0.39174136</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 7 I >=16 0.25 8 8 0.74321579 0.46216277</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 8 A 8 2 <=1 <=1 -0.18987114 0.47092416</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 9 J <=2 0.5 <=1 <=1 -0.79714465 1.07819767</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 10 G <=2 0.125 2 <=1 -0.86673217 1.14778519</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 1 C 4 0.25 4 1 -0.4091718 0.0000000</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 I 16 0.5 1 0.5 -0.4492455 0.0400737</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 3 J 8 0.125 >=8 0.5 -0.2683146 0.1408572</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 4 G 4 0.5 1 >=8 -0.1964756 0.2126962</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 5 E 4 >=4 1 2 -0.1399200 0.2692518</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 6 H 4 0.25 1 2 -0.6867320 0.2775602</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 7 A 8 1 2 2 0.0410109 0.4501827</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 8 D 16 >=4 2 2 0.5415853 0.9507571</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 9 F 16 1 4 4 0.6721245 1.0812963</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 10 B 32 >=4 1 >=8 0.8951387 1.3043105</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="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>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -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>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -77,17 +77,17 @@ This is the fastest way to have your organisation (or analysis) specific codes p
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -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>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -77,17 +77,17 @@ resistance() should be used to calculate resistance, susceptibility() should be
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
@@ -183,42 +183,43 @@
|
||||
<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>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 2 64 0.025 0.5 0.001 0.001 >=128 >=128 4 0.5 0.002 0.01 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [13] 4 32 32 0.125 0.125 0.005 2 16 0.001 0.125 0.002 0.01 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [25] 0.01 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.005 1 0.001 0.025 64 1 16 8 8 64 0.002 4 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [13] 8 32 0.001 1 16 0.025 0.125 0.125 2 1 0.025 0.25 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [25] 8 </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> [1] 7 27 48 15 19 48 10 49 9 18 37 43 23 37 26 29 6 40 36 19 36 10 33 18 32</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 37 44 22 48 24 19 46 27 48 14 15 42 48 37 44 10 45 14 38 37 42 16 50 45 46</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> [1] I R R I S R I I I S S S R S S I S I I R S R I I S</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] I R I S R I I S I S R R S S S R R R I R I S S I R</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"># 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-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 64 0.005 4 4 0.002 0.001 8 64 32 0.005 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [11] 1 0.025 0.01 2 0.01 0.5 64 4 8 0.002 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [21] 64 0.01 0.005 0.5 0.0625</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.5 0.01 32 0.125 <=0.001 64 0.025 0.125 8 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [10] 8 1 0.25 8 0.25 1 1 16 4 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [19] 0.25 0.0625 0.025 0.025 0.5 0.025 64 </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> [1] 16 16 1 2 2 16 16 8 2 2 >=32 4 1 4 16 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [16] 16 16 2 1 2 16 8 16 2 8 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 4 1 1 8 8 4 >=16 4 4 8 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [11] 8 <=0.25 2 4 >=16 <=0.25 0.5 2 1 8 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [21] 1 2 0.5 4 >=16 </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> [1] 1 0.125 8 0.0625 0.025 0.025 0.5 8 0.125 0.5 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [11] 8 1 0.5 0.125 1 0.25 8 0.0625 2 2 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [21] 0.125 0.0625 1 4 0.125 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 1 0.25 2 0.125 2 2 2 4 0.25 2 1 0.5 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [13] 4 8 2 8 0.5 1 8 4 4 0.25 2 1 </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [25] >=16 </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-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 42 27 16 43 29 46 49 22 27 8 36 28 40 44 41 8 12 45 44 42 38 49 24 40 10</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 46 29 42 21 45 46 44 26 15 19 40 14 38 48 19 49 46 13 21 44 21 36 13 41 42</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> [1] 13 16 16 11 17 17 14 14 11 13 15 15 12 12 11 12 16 14 17 15 15 14 14 12 14</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 14 13 11 11 12 15 14 13 15 11 15 17 16 13 13 13 11 11 16 17 15 17 16 13 14</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> [1] 27 17 19 26 24 23 23 25 17 27 15 15 26 20 19 26 22 19 18 26 21 20 17 24 23</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 25 23 16 16 27 17 27 17 23 22 26 19 21 17 18 20 17 18 21 19 23 23 27 18 23</span>
|
||||
<span class="r-in"><span><span class="co"># }</span></span></span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<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.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -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>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -77,17 +77,17 @@ When negative ('left-skewed'): the left tail is longer; the mass of the distribu
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
@@ -171,7 +171,7 @@ When negative ('left-skewed'): the left tail is longer; the mass of the distribu
|
||||
<div class="section level2">
|
||||
<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>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] -0.02794763</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.09735414</span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</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>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9074</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.2.9076</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">
|
||||
@@ -75,17 +75,17 @@
|
||||
<a class="dropdown-item" href="../reference/mo_property.html">
|
||||
<span class="fa fa-bug"></span>
|
||||
|
||||
Get properties of a microorganism
|
||||
Get taxonomy of a microorganism
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/ab_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antibiotic
|
||||
Get properties of an antibiotic drug
|
||||
</a>
|
||||
<a class="dropdown-item" href="../reference/av_property.html">
|
||||
<span class="fa fa-capsules"></span>
|
||||
|
||||
Get properties of an antiviral agent
|
||||
Get properties of an antiviral drug
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|