Skip to content

The plot() function for a PLS model displays two paths for each indicator related to a factor . #348

@alibezzaa

Description

@alibezzaa

Well, this is a simple issue that I never had. While using this code for a moderated mediation model:

measurement model

mm = constructs(
composite("E_INT", multi_items("EI", 1:6)),
composite("M_LEARN", multi_items("ML", 1:4)),
composite("S_EFF", multi_items("SE", 1:5)),
composite("FF", single_item("FF")),
composite("E_INT", multi_items("EI", 1:6)),
interaction_term(iv = "S_EFF", moderator = "E_INT", method = two_stage))

structural model

sm = relationships(
paths("FF", c("S_EFF", "M_LEARN")),
paths(c("S_EFF","E_INT","S_EFF*E_INT"), "M_LEARN")
)

The resulting plot displays for one factor (E_INT) two paths for each indicator, like this :

Rplot

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