-
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
error from tab_model function #385
Comments
I think the |
Hi Daniel, thanks for your quick reply. Surprisingly to me I´ve tried I was initially thinking the problem may came from my data but looks like the problem comes from other aspect since it also happens with different data. I hope you can provide help with this issue in the next days. thank you again |
Hi again, I have tried the same approach in another computer with different R sessions and got the same error. In another computer with a different session (see sessionInfo document linked), the function worked out well with the example data from lme4, restarting the session and charging only regression-modeling related libraries lme4 and sjPlot: However, runing my model especifying
Whereas the class of the object model with mi initial session was |
When I re-fit the model user broom::tidy(mod)
#> Error: Column 6 must be named |
I opened an issue: tidymodels/broom#446 |
Can you confirm that |
Yes, it does work when I run the model using lme4 (" |
broom should be no problem if loaded, only lmerTest, I think. I'll close this issue now, we need to wait for the broom.mixed package to be released. |
I added a workaround (i.e. an own tidier) for lmerModLmerTest-Objects, so this issue should be fixed in sjPlot now. Will commit tonight. |
Hi,
sjPlot package is fascinating so first of all thank you for this amazing contribution to R users community.
I would like to create an lmer output table using the tab_model function. However I get this (btw not so informative) error: Error: Column 6 must be named
The model is in the format
mod <-lmer( y ~ (-1) + Sex + (1|ID) + (1|Year), data = df, REML = TRUE, verbose=TRUE, na.action="na.fail", control=lmerControl(optimizer="Nelder_Mead"))
I get all the common outputs from the model without problems. Also, using tidy_lmer function I can get a more simple output table of the model without problems.
I have inspecting some time the tab_model function inside, trying to find where the fix is comming but with no luck.
Do you have some idea where the problem could be?
I have no reproduccible example but the output of the model can be found here:
https://www.dropbox.com/s/29922nqycgjbst7/mod.Rdata?dl=1
and I can provide more information if needed.
Thank you so much in advance.
The text was updated successfully, but these errors were encountered: