(v1.3.0.9024) optimalisation

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-09-19 12:57:51 +02:00
1 parent d049cce69b
commit 2f0186ace2
17 files changed
+24 -20

No files matched your search

+1 -1
View File
@@ -68,5 +68,5 @@ mo_matching_score <- function(x, fullname, uncertainty = 1) {
var_U <- uncertainty
# matching score:
(var_F - 0.5 * L) / (var_F * var_P * var_K * var_U)
(var_F - 0.5 * var_L) / (var_F * var_P * var_K * var_U)
}
-1
View File
@@ -263,7 +263,6 @@ rsi_calc_df <- function(type, # "proportion", "count" or "both"
# based on pm_apply_grouped_function
apply_group <- function(.data, fn, groups, drop = FALSE, ...) {
#groups <- get_groups(.data)
grouped <- pm_split_into_groups(.data, groups, drop)
res <- do.call(rbind, unname(lapply(grouped, fn, ...)))
if (any(groups %in% colnames(res))) {
BIN
View File
Binary file not shown.