Single column in data
Opened this issue · 0 comments
ck37 commented
Via Stephanie Leonard, if there is a single variable in our X we get an error:
Error: invalid 'type' (list) of argument
We should 1) give a warning or error when a single variable is used, and eventually 2) support a single X variable (for consistency).
We also should check if X is a vector, and if so convert to a dataframe or matrix.