Skip to content

Commit b86a391

Browse files
committed
fixed pred_prod difference table
1 parent 0c6b9c0 commit b86a391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/pred_prob_outputs.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ pred_prob_outputs <- function(project, mod.name = NULL, zone.dat = NULL, policy.
275275
mutate(
276276
purrr::map(policy.name, function(p) {
277277
across(all_of(paste0( mod.name, "_predprob")),
278-
~ .x - get(paste0(stringr::str_replace(cur_column(), "_predprob", ""), "_", p)),
278+
~ get(paste0(stringr::str_replace(cur_column(), "_predprob", ""), "_", p)) - .x,
279279
.names = paste0("{.col}_diff_", p))
280280
}) %>% purrr::reduce(bind_cols)
281281
) %>%

0 commit comments

Comments
 (0)