getLavOptions {semPower}R Documentation

getLavOptions

Description

returns lavaan options including defaults as set in sem() as a list to be passed to lavaan()

Usage

getLavOptions(lavOptions = NULL, isCovarianceMatrix = TRUE, nGroups = 1)

Arguments

lavOptions

additional options to be added to (or overwriting) the defaults

isCovarianceMatrix

if TRUE, also adds sample.nobs = 1000 and sample.cov.rescale = FALSE to lavoptions

nGroups

the number of groups, 1 by default

Value

a list of lavaan defaults


[Package semPower version 2.1.0 Index]