Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOD_LASSO: unhelpful error messages when variables are not found #2

Closed
Deleetdk opened this issue Sep 13, 2016 · 1 comment
Closed

Comments

@Deleetdk
Copy link
Owner

MOD_LASSO does not give helpful error messages.

MOD_LASSO(iris, dependent = "Petal.Length", predictors = c("non_existent_var", "Sepal.Length"))
Error in `[.data.frame`(df, c(dependent, predictors, "weights_")) : 
  undefined columns selected

It would be better if it said something like the following:

Error: the following variables were not found in the data: non_existent_var

@Deleetdk
Copy link
Owner Author

Fixed with a508896

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant