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:
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?
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?