Skip to content

BLAVAAN Analyze  #103

Description

@dphipps190

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions