(v3.0.1.9119) update doc

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2026-10-11 23:03:06 +02:00
1 parent 36e6388868
commit e19eabe828
4 files changed
+8 -6

No files matched your search

+3 -2
View File
@@ -81,12 +81,13 @@ if (require("dplyr")) {
}
if (require("dplyr")) {
# use the new variable in further analyses
# THOUGH CONSIDER wisca() FOR RELIABLE ESTIMATES
example_isolates \%>\%
mutate(TZP_GEN = sir_combine(TZP, GEN)) \%>\%
group_by(ward) \%>\%
summarise(
TZP = susceptibility(TZP),
GEN = susceptibility(GEN),
TZP_mono = susceptibility(TZP),
GEN_mono = susceptibility(GEN),
TZP_GEN = susceptibility(TZP_GEN),
# or directly, without combining first:
TZP_GEN2 = susceptibility(TZP, GEN)