Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Nov 24, 2024
1 parent 637e875 commit e0e83d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/check_outliers.R
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ check_outliers.default <- function(x,
}

# Remove non-numerics, but only check predictors
model_predictors <- unique(insight::find_predictors(model, flatten = TRUE))
model_predictors <- unique(insight::find_predictors(x, flatten = TRUE))
my_data <- datawizard::data_select(
my_data[model_predictors],
select = is.numeric,
Expand Down

0 comments on commit e0e83d9

Please sign in to comment.