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

Issue with multiple-group models and blavaan #735

Open
strengejacke opened this issue Jun 24, 2022 · 0 comments
Open

Issue with multiple-group models and blavaan #735

strengejacke opened this issue Jun 24, 2022 · 0 comments
Labels
Bug 🐛 Something isn't working

Comments

@strengejacke
Copy link
Member

When I run model_parameters on lavaan and blavaan model objects, it usually works. But I have encountered an issue for sem models with multiple-groups. For lavaan, model_parameters() is able to return the parameter estimates for a multiple-group model object (with a Group column indicating which group the model parameters belong to), but when I run the same multip-group model in blavaan, model_parameters() returns the following error message:

Error in coef_labels[coef_labels == unique_labels[ll]] <- params[param_tab$label == :
replacement has length zero

Have others encountered this issue and is there a fix?

Thanks in advance!
Niels

Originally posted by @NielsSkovgaard-Olsen in #185 (comment)

@strengejacke strengejacke added the Bug 🐛 Something isn't working label Jun 24, 2022
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

No branches or pull requests

1 participant