ind_lav: ind lav

View source: R/ipv_est.R

ind_lavR Documentation

ind lav

Description

create a lavaan model syntax based on a set of variable names and indicator names that comprise these variable names

Usage

ind_lav(vars, indicators)

Arguments

vars

character; variable names

indicators

character; indicator names, may include unused indicators

Details

Indicator names have to include the variable names like this: "...variable_...". Variable names have to be unique and cannot be contained in one another like this: "variable_" and "ariable_"

Value

character; lavaan model syntax


IPV documentation built on Sept. 30, 2022, 5:08 p.m.