You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stop("Input 'x' contains factor columns. Please convert them to numeric before calling glex, the conversion should match what was used to fit the model.")
101
+
if (is.data.frame(x) &&any(!sapply(x, is.numeric))) {
102
+
stop("Input 'x' contains non-numeric columns. Please ensure all columns are numeric or convert them appropriately (e.g., using model.matrix) to match model training data before calling glex.")
stop("Input 'x' contains factor columns. Please convert them to numeric before calling glex, the conversion should match what was used to fit the model.")
166
+
if (is.data.frame(x) &&any(!sapply(x, is.numeric))) {
167
+
stop("Input 'x' contains non-numeric columns. Please ensure all columns are numeric or convert them appropriately (e.g., using model.matrix) to match model training data before calling glex.")
0 commit comments