We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ea753c commit aa40cb7Copy full SHA for aa40cb7
R/utils-best_case_worst_case.R
@@ -28,7 +28,7 @@ add_min_or_max_rank_per_company_benchmark <- function(data,
28
col_rank,
29
agg_func = min) {
30
mutate(data,
31
- {{ rank_per_company_benchmark }} := ifelse(is.na(unique(.data[[col_rank]])),
+ {{ rank_per_company_benchmark }} := ifelse(is.na(.data[[col_rank]]),
32
NA_real_,
33
agg_func(.data[[col_rank]], na.rm = TRUE)
34
),
0 commit comments