congeneric: A Function That Fits a Congeneric Reflective Latent Variable...

Description Usage Arguments Value Examples

View source: R/congeneric.R

Description

This function fits a congeneric reflective latent variable model (described in McNeish and Wolf, 2020) using the indicators in the specified in the supplied data frame and the lavaan function with fixed-factor scaling. FIML is used by default.

Usage

1
congeneric(df, lvname)

Arguments

df

input data frame consisting of variables in the measurement model

Value

a fitted lavaan object

Examples

1
cong.hs <- congeneric(df)

jsakaluk/psyscores documentation built on Dec. 16, 2021, 6:50 p.m.