metaSEM (version 1.2.4)

rerun: Rerun models via mxTryHard()

Description

It reruns models via mxTryHard().

Usage

rerun(object, autofixtau2=FALSE, ...)

Arguments

object

An object of either class tssem1FEM, class tssem1REM, class wls, class meta, class reml, class osmasem, and class MxModel.

autofixtau2

Logical. Whether automatically fixes elements of tau2 with NA of standard errors. It only works for objects of class tssem1REM, class meta, and class osmasem.

Further arguments to be passed to mxTryHard

Examples

Run this code
# NOT RUN {
random1 <- tssem1(Digman97$data, Digman97$n, method="REM", RE.type="Diag")
random1_rerun <- rerun(random1)
summary(random1_rerun)
# }

Run the code above in your browser using DataCamp Workspace