Skip to content

Commit

Permalink
forgot NAs are expected in smry
Browse files Browse the repository at this point in the history
  • Loading branch information
bcjaeger committed Oct 7, 2023
1 parent 386f66e commit 9551eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/orsf_pd.R
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 9551eba

Please sign in to comment.