create_mmodel {semnova}R Documentation

Specifying a measurement model.

Description

Specifying a measurement model.

Usage

create_mmodel(..., list = NULL, lv_scaling = "effect", invariance = NULL)

Arguments

...

Named arguments each representing a latent variable. The arguments are character vectors containing the variable names the latent variables are measured by.

list

List. Each list element represents a latent variable. List elements are character vectors containing the variable names the latent variables are measured by.

lv_scaling

Character vector. Defines the strategy for latent variable scaling. Default is lv_scaling = "effect". Possible strategies are: c("effect", "referent").

invariance

Not yet implemented.

Value

Object of classe mmodel.

Examples


mmodel <- create_mmodel(
    A1B1 = "var1",
    A2B1 = "var2",
    A3B1 = "var3",
    A1B2 = "var4",
    A2B2 = "var5",
    A3B2 = "var6",
    lv_scaling = "referent"
)


[Package semnova version 0.1-6 Index]