Skip to content

Error in [.data.frame(data, , var) : undefined columns selected (despite trying all the solutions suggested here) #314

@daniela-pazpez

Description

@daniela-pazpez

As other people, I am getting this message. I have tried using the 'multigroup2' function, but it created more issues. My code is:

pmodel3 <- psem (
lm(WORKE ~ cent_prestige + cent_inclusion + YEAR, merit_educ_na),
lm(PERMEAB ~ cent_prestige + cent_inclusion + YEAR, merit_educ_na),
lm(cent_prestige ~ cent_inclusion + YEAR, merit_educ_na))

multigroup(pmodel3, group = "education")

How can I fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions