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 am currently trying to use the analyze function with Blavaan, but I amgetting errors, and I am not sure why.
I am using the following code:
fit <- bsem(bayesModelPB, cp = "srs", convergence = "auto", data=data)
FitSummary<- analyze(fit, CI = 90, standardize=T)
print(FitSummary)
However, I get the error
1: In log(z) : NaNs produced
2: In if (standardize == FALSE) { :
the condition has length > 1 and only the first element will be used
3:
the condition has length > 1 and only the first element will be used
When I print the results, only the fit statistics are presented.
I have also tried running the code as: FitSummary<- analyze(fit)
And FitSummary<- analyze(fit, standardize=FALSE)
When standardized = False I get the error
Error in if (median >= 0) { : argument is of length zero
I have checked Blavaan and psycho, and reinstalled the most recent version of all packages and dependencies I could see. Is there anywhere I have gone wrong here?
The text was updated successfully, but these errors were encountered:
@dphipps190 So sorry to answer only now! Unfortunately, I won't be able to fix the issue, as the analyze function will be deprecated in favour of the new report package currently in development. However, this doesn't solve your issue as support for lavaan and blavaan is not (yet) implemented 😕
I hope to add it as soon as possible, so please stay tuned :)
Describe the problem.
Hi,
I am currently trying to use the analyze function with Blavaan, but I amgetting errors, and I am not sure why.
I am using the following code:
However, I get the error
When I print the results, only the fit statistics are presented.
I have also tried running the code as:
FitSummary<- analyze(fit)
And
FitSummary<- analyze(fit, standardize=FALSE)
When standardized = False I get the error
I have checked Blavaan and psycho, and reinstalled the most recent version of all packages and dependencies I could see. Is there anywhere I have gone wrong here?
The text was updated successfully, but these errors were encountered: