Open ck37 opened 6 years ago
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.
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.