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
I recently read De Jonckere & Rosseel (2025)'s BRM paper on using random starting values. I want to use this option in a larger simulation study but I'm running into an error. The problem with the error is that it doesn't consistently show up under fixed conditions. Here is the error:
‘Error in x.noerror[sapply(x.rstarts, "attr", "converged")] : invalid subscript type 'list' ’
I'm also playing around with the bounds argument, and I think that is the cause of these errors. The example below, using that seed, should replicate the issue (note that I'm generating a random covariance matrix on purpose):
Indeed. Thanks for reporting this. The rstarts= and bounds= options did not like each other. I believe this is now fixed in the github version of lavaan.
I recently read De Jonckere & Rosseel (2025)'s BRM paper on using random starting values. I want to use this option in a larger simulation study but I'm running into an error. The problem with the error is that it doesn't consistently show up under fixed conditions. Here is the error:
‘Error in x.noerror[sapply(x.rstarts, "attr", "converged")] : invalid subscript type 'list' ’
I'm also playing around with the
bounds
argument, and I think that is the cause of these errors. The example below, using that seed, should replicate the issue (note that I'm generating a random covariance matrix on purpose):Any ideas what's going on? If the answer is that random starts and variance bounds don't combine, then that's also fine!
Thanks!
The text was updated successfully, but these errors were encountered: