Skip to content

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

Description

@strengejacke
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

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