bmem.em: Estimate a mediation model based on EM covariance matrix

Description Usage Arguments

Description

Estimate a mediation model based on EM covariance matrix

Usage

1
2
3
bmem.em(x, ram, indirect, v, robust = FALSE, 
        varphi = 0.1, st= "i", moment = FALSE, 
        max_it = 500, ...)

Arguments

x

A data set

ram

RAM path for the mediaiton model

indirect

A vector of indirect effec

v

Indices of variables used in the mediation model. If omitted, all variables are used.

robust

Roubst method

varphi

Percent of data to be downweighted

st

Starting values

moment

Select mean structure or covariance analysis. moment=FALSE, covariance analysis. moment=TRUE, mean and covariance analysis.

max_it

Maximum number of iterations in EM

...

Other options for sem function can be used.



Search within the bmem package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.