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
Hi,
I use ranger with matrices and I get the "Error: No covariates found." error.
In fact, my matrices don't have colnames, so the variable names are not defined.
I think there should be a check here to compare the length of colnames(x) and ncol(x) and either raise an error or initialize the colnames with some values.
Let me know if it's unclear.
Best.
The text was updated successfully, but these errors were encountered:
Hi,
I use ranger with matrices and I get the "Error: No covariates found." error.
In fact, my matrices don't have colnames, so the variable names are not defined.
ranger/R/ranger.R
Line 367 in dcaee8d
I think there should be a check here to compare the length of colnames(x) and ncol(x) and either raise an error or initialize the colnames with some values.
Let me know if it's unclear.
Best.
The text was updated successfully, but these errors were encountered: