You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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)
The text was updated successfully, but these errors were encountered: