Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upHard coded variable name x should be avoided #46
Labels
Comments
If you're able, can you send a pull request that fixes this? Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mronkko commentedMay 28, 2020
Please specify whether your issue is about:
The summary method has a hard coded variable name x. This is problematic: x is quite commonly used as the name for a predictor variable when teaching regression. If we have x as a predictor, the summary method incorrectly selects the predictors as the predicted value and vice versa.
Put your code here: