mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 04:20:53 +01:00
patient ID in first isolate
This commit is contained in:
1 parent
7ad8635994
commit
9179e98e12
4 files changed
+8
-7
No files matched your search
+4
-3
@@ -303,13 +303,14 @@ sir_confidence_interval <- function(...,
|
||||
}
|
||||
if (isTRUE(as_percent)) {
|
||||
out <- percentage(out, digits = 1)
|
||||
} else {
|
||||
out <- round(out, digits = 3)
|
||||
}
|
||||
if (!isFALSE(collapse) && length(out) > 1) {
|
||||
if (is.numeric(out)) {
|
||||
out <- round(out, digits = 3)
|
||||
}
|
||||
out <- paste(out, collapse = ifelse(isTRUE(collapse), "-", collapse))
|
||||
}
|
||||
|
||||
|
||||
if (n < minimum) {
|
||||
warning_("Introducing NA: ",
|
||||
ifelse(n == 0, "no", paste("only", n)),
|
||||
|
||||
Reference in new issue
Block a user