Learn R Programming

metaSEM (version 1.4.0)

rerun: Rerun models via mxTryHard()

Description

It reruns models via mxTryHard().

Usage

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

Arguments

object

An object of either class tssem1FEM, class tssem1REM, class wls, class meta, class reml, class osmasem, class osmasem3L, 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.

extraTries

The number of attempts to run the model in addition to the first.

...

Further arguments to be passed to mxTryHard

Author

Mike W.-L. Cheung <mikewlcheung@nus.edu.sg>

Examples

Run this code
# \donttest{
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 DataLab