unionmodel {psychonetrics}R Documentation

Unify models across groups

Description

The unionmodel will add all parameters to all groups that are free in at least one group, and the intersectionmodel will constrain all parameters across groups to zero unless they are free to estimate in all groups.

Usage

unionmodel(x, runmodel = FALSE, verbose, log = TRUE, identify =
                    TRUE, matrices, ...)

intersectionmodel(x, runmodel = FALSE, verbose, log = TRUE, identify =
                    TRUE, matrices, ...)

Arguments

x

A psychonetrics model.

runmodel

Logical, should the model be updated?

verbose

Logical, should messages be printed?

log

Logical, should the log be updated?

identify

Logical, should the model be identified?

matrices

Which matrices should be used to form the union/intersection model?

...

Arguments sent to runmodel

Value

An object of the class psychonetrics (psychonetrics-class)

Author(s)

Sacha Epskamp


[Package psychonetrics version 0.13 Index]