-
Notifications
You must be signed in to change notification settings - Fork 92
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
return plot-object as well for sjp.(g)lm when type = "vif" #38
Comments
I have updated the documentation. Currently, model assumption functions should not return any plot, only the updated model with removed outliers. Perhaps this may be an option for future releases. |
I am not sure I understand this comment. Removed outliers? sjp.glm produces a plot -- even if type="vif". The plot just is not returned. I can confirm that the documentation is consistent with the behaviour now. But I'd much prefer to have the ggplot object returned to be able to further tweak it to my needs. |
If you refer to the very last plot of model-assumptions, this is the same one as |
This is an example what should be possible, I'd say. And easy to achieve. Sorry, should have posted code right in the beginning: # prepare dichotomous dependent variable
|
Sorry for confusion, I was talking about |
According to the documentation, the return value of sjp.glm is a 'structure' with the ggplot object in the plot 'element'.
This is not true when the type is set to 'vif'. But the resulting ggplot object should be returned here as well.
The text was updated successfully, but these errors were encountered: