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

summary error with random effects #171

Closed
venpopov opened this issue Mar 22, 2024 · 2 comments · Fixed by #173
Closed

summary error with random effects #171

venpopov opened this issue Mar 22, 2024 · 2 comments · Fixed by #173
Assignees
Labels
bug Something isn't working
Milestone

Comments

@venpopov
Copy link
Owner

not sure why this gives me an error now when it worked before, but here it is:

fit <- fit_model(bmf(kappa ~ 1 + (1|ID)), OberauerLin_2017, mixture2p('dev_rad'), cores = 4, backend = 'cmdstanr')

Error in apply(include, 1, any) : dim(X) must have a positive length

@venpopov venpopov added the bug Something isn't working label Mar 22, 2024
@venpopov venpopov added this to the 1.0.0 milestone Mar 22, 2024
@venpopov venpopov self-assigned this Mar 22, 2024
@venpopov
Copy link
Owner Author

Looking at it it can't have worked before. I guess I didn't test it random effects. My bad.

venpopov added a commit that referenced this issue Mar 23, 2024
@venpopov
Copy link
Owner Author

So, I did test it before, I'm not going crazy lol. But I tested it in a more complicated design with random slopes. It only fails if there is only one random effect parameter to display.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant