1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 08:32:04 +02:00

(v1.3.0.9024) optimalisation

This commit is contained in:
2020-09-19 12:57:51 +02:00
parent d049cce69b
commit 2f0186ace2
17 changed files with 24 additions and 20 deletions

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)
}

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))) {

Binary file not shown.