improvement for forecasting resistance

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2018-07-26 16:30:42 +02:00
1 parent d9e204031d
commit 498e88b5cf
13 files changed
+438 -145

No files matched your search

+3 -3
View File
@@ -92,13 +92,13 @@ A <- my_patients \%>\%
resistance = resistance(gent))
B <- my_patients \%>\%
filter(first_isolate == TRUE) \%>\%
filter(first_isolate == TRUE) \%>\% # the 1st isolate filter
group_by(hospital_id) \%>\%
summarise(count = n_rsi(gent), # gentamicin
summarise(count = n_rsi(gent),
resistance = resistance(gent))
# Have a look at A and B. B is more reliable because every isolate is
# counted once. Gentamicin resitance in hospital D seems to be 5\%
# counted once. Gentamicin resitance in hospital D appears to be 5\%
# higher than originally thought.
## OTHER EXAMPLES: