lavaangui | R Documentation |
The lavaangui
function launches the lavaangui Shiny application.
lavaangui(fit = NULL)
fit |
A lavaan model, as returned by the |
Currently, multiple-group models are not supported. However, you can create an
interactive plot of those models using plot_lavaan
nothing
# Without importing lavaan model
lavaangui()
# Importing a lavaan model
library(lavaan)
model <- "
visual =~ x1 + loadingx2*x2 + x3
textual =~ x4 + x5 + x6
speed =~ x7 + x8 + x9
"
fit <- cfa(model, data = HolzingerSwineford1939)
lavaangui(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.