Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEM plot for model_parameters() fails when component = "regression" #243

Open
strengejacke opened this issue Sep 22, 2022 · 0 comments
Open

Comments

@strengejacke
Copy link
Member

library(parameters)
library(lavaan)
#> This is lavaan 0.6-12
#> lavaan is FREE software! Please report any bugs.
structure <- " visual  =~ x1 + x2 + x3
               textual =~ x4 + x5 + x6
               speed   =~ x7 + x8 + x9 "

model <- lavaan::cfa(structure, data = HolzingerSwineford1939)
result <- model_parameters(model)
plot(result, component = "regression", ci = FALSE)
#> Error in data.frame(Name = as.character(edges[edges$Component == "Loading", : arguments imply differing number of rows: 0, 1

Created on 2022-09-22 with reprex v2.0.2

@strengejacke strengejacke changed the title SEM plot for model_parameters() fails when component argument specified and ci = FALSE. SEM plot for model_parameters() fails when component = "regression" Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant