(v0.8.0.9028) examples fix

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2019-11-10 13:17:20 +01:00
1 parent 59ededa8dc
commit 54b6322056
12 files changed
+19 -19

No files matched your search

+2 -2
View File
@@ -129,13 +129,13 @@ example_isolates \%>\%
A <- example_isolates \%>\%
group_by(hospital_id) \%>\%
summarise(count = n_rsi(GEN), # gentamicin availability
resistance = portion_IR(GEN)) # gentamicin resistance
resistance = resistance(GEN)) # gentamicin resistance
B <- example_isolates \%>\%
filter_first_weighted_isolate() \%>\% # the 1st isolate filter
group_by(hospital_id) \%>\%
summarise(count = n_rsi(GEN), # gentamicin availability
resistance = portion_IR(GEN)) # gentamicin resistance
resistance = resistance(GEN)) # gentamicin resistance
# Have a look at A and B.
# B is more reliable because every isolate is only counted once.