Skip to contents

Often researchers are required to show fit indices from several CFA models. This function will create publication worthy tables with CFA fit indices from several lavaan class objects. #' To run this function successfully one need to provide at least two lavaan objects. This command supports up-to five lavaan models.

Usage

cfa.tab.multi(x, y, z = NULL, a = NULL, b = NULL, robust = FALSE)

Arguments

x

first object of class lavaan (Mandatory).

y

second object of class lavaan (Mandatory).

z

third object of class lavaan (Optional).

a

fourth object of class lavaan (Optional).

b

fifth object of class lavaan (Optional).

robust

If TRUE, will provide robust fit indices when applicable instead of the default indices.