mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 07:50:50 +01:00
pm fixes
This commit is contained in:
1 parent
822e9de82c
commit
aa48c6bf53
11 files changed
+211
-186
No files matched your search
+1
-1
@@ -334,7 +334,7 @@ sir_calc_df <- function(type, # "proportion", "count" or "both"
|
||||
res <- do.call(rbind, unname(lapply(grouped, fn, ...)))
|
||||
if (any(groups %in% colnames(res))) {
|
||||
class(res) <- c("grouped_data", class(res))
|
||||
res <- pm_set_groups(res, groups[groups %in% colnames(res)])
|
||||
res <- pm_groups_set(res, groups[groups %in% colnames(res)])
|
||||
}
|
||||
res
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user