Estimate a mediation model based on EM covariance matrix

1 2 3 |

`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 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.