Closed grantbrown closed 9 years ago
Also, what's your opinion about the warning message:
"x is not a data.frame and argument varnlevels is not specified. Number of levels cannot be inferred so all variables will be treated as numeric"?
I feel like when folks supply a matrix X rather than a data frame, they probably know what they're trying to do and don't need the reminder.
Thanks for the fix :)
I think it is helpful to have the warning message. I have had questions from people who were confused by it.
Also, what's your opinion about the warning message:
"x is not a data.frame and argument varnlevels is not specified. Number of levels cannot be inferred so all variables will be treated as numeric"?
I feel like when folks supply a matrix X rather than a data frame, they probably know what they're trying to do and don't need the reminder.