> ols_plot_resid_qq(fm1)
Hmmm.. Looks like you have specified the wrong model. Follow the below steps to debug this error.
* Check if you have used the lm() function to build the model.
* If you have never used it before, you can learn more by typing ?lm or help(lm) in the Console
.
Below is an example using mtcars data:
lm(formula = mpg ~ disp + hp + wt, data = mtcars)
Happy modeling :)
Error:
and
> ols_test_normality(fm1)
Error in ols_test_normality.default(fm1) : y must be numeric
Hi @vasili111, yes currently olsrr supports only OLS models but we plan to support more models including linear mixed models in future (read 2020). Will keep you posted :).
It will be nice to add linear mixed models support. Currently by using
olsrr
withlmer
I am getting errors:Code
Errors
and