Description Usage Arguments Details Value Examples

Provide model summary.

1 | ```
model_summary(model.fit, var.number, lag.order)
``` |

`model.fit` |
model fit object generated by lavaan |

`var.number` |
number of variables in the time-series |

`lag.order` |
lag order of model |

Model fit criteria: 3 out of 4 rule, meaning 3 out of 4 critea should be satisfied, including CFI and TLI should be greater than 0.95, RMSEA and SRMR should be less than 0.08.

beta matrix estimates

matrix of standard error of beta

matrix of psi estimates

fit statistics CFI

fit statistics TLI

fit statistics RMSEA

fit statistics SRMR

1 2 3 4 5 6 7 8 9 10 | ```
mdl <- model_summary(model.fit = usemmodelfit,
var.number = 3,
lag.order = 1)
mdl$beta
mdl$beta.se
mdl$psi
mdl$cfi
mdl$tli
mdl$rmsea
mdl$srmr
``` |

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.