The goal of dynamic is to simulate fit index cutoffs for latent variable models that are tailored to the user’s model statement, model type, and sample size.
This is the counterpart of the Shiny Application, dynamicfit.app. The Shiny app and the R package will give you the same results. If you are comfortable with R, consider using the package during high traffic times to reduce server burden.
This is the beta version of the package. Please submit bug reports and issues on GitHub. You can install the released version of dynamic from CRAN with:
install.packages("dynamic")
library(dynamic)
#Lavaan object example (manual=FALSE)
<- lavaan::HolzingerSwineford1939
dat <- "F1 =~ x1 + x2 + x3
lavmod F2 =~ x4 + x5 + x6
F3 =~ x7 + x8 + x9"
<- lavaan::cfa(lavmod,dat)
fit cfaHB(fit)
#Manual entry example (manual=TRUE)
<- "F1 =~ .602*Y1 + .805*Y2 + .857*Y3 + .631*Y4 + .345*Y5 + .646*Y6"
manmod cfaOne(manmod,500,manual=TRUE)
Click here.