mirror of
https://github.com/msberends/AMR.git
synced 2025-09-06 06:09:41 +02:00
new EUCAST rules algorithm
This commit is contained in:
@@ -98,15 +98,15 @@ septic_patients \%>\%
|
||||
# Count co-resistance between amoxicillin/clav acid and gentamicin,
|
||||
# so we can see that combination therapy does a lot more than mono therapy.
|
||||
# Please mind that `portion_S` calculates percentages right away instead.
|
||||
count_S(septic_patients$amcl) # S = 1057 (67.1\%)
|
||||
count_all(septic_patients$amcl) # n = 1576
|
||||
count_S(septic_patients$amcl) # S = 1342 (71.4\%)
|
||||
count_all(septic_patients$amcl) # n = 1879
|
||||
|
||||
count_S(septic_patients$gent) # S = 1372 (74.0\%)
|
||||
count_all(septic_patients$gent) # n = 1855
|
||||
|
||||
with(septic_patients,
|
||||
count_S(amcl, gent)) # S = 1396 (92.0\%)
|
||||
with(septic_patients, # n = 1517
|
||||
count_S(amcl, gent)) # S = 1660 (92.3\%)
|
||||
with(septic_patients, # n = 1798
|
||||
n_rsi(amcl, gent))
|
||||
|
||||
# Get portions S/I/R immediately of all rsi columns
|
||||
|
Reference in New Issue
Block a user