From 9551eba929db5b535ee442eafedc789ca32d7382 Mon Sep 17 00:00:00 2001 From: bjaeger Date: Sat, 7 Oct 2023 19:26:26 -0400 Subject: [PATCH] forgot NAs are expected in smry --- R/orsf_pd.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/orsf_pd.R b/R/orsf_pd.R index def0531a..b7c38fbe 100644 --- a/R/orsf_pd.R +++ b/R/orsf_pd.R @@ -539,7 +539,7 @@ orsf_pred_dependence <- function(object, out <- rbindlist(pd_vals) # missings may occur when oobag=TRUE and n_tree is small - out <- collapse::na_omit(out) + if(type_output == 'ice') out <- collapse::na_omit(out, cols = 'pred') ids <- c('id_variable', if(type_output == 'ice') 'id_row')