fix for binding rows

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2023-02-12 11:20:14 +01:00
1 parent c51fb24363
commit c740967cf2
15 files changed
+40 -57

No files matched your search

+2 -2
View File
@@ -404,8 +404,8 @@ antibiogram <- function(x,
if (i == 1) {
new_df <- long_to_wide(out[which(out$syndromic_group == grp), , drop = FALSE], digs = digits)
} else {
new_df <- pm_bind_rows(new_df,
long_to_wide(out[which(out$syndromic_group == grp), , drop = FALSE], digs = digits))
new_df <- rbind2(new_df,
long_to_wide(out[which(out$syndromic_group == grp), , drop = FALSE], digs = digits))
}
}
# sort rows