Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ dynamic Public

❗ This is a read-only mirror of the CRAN R package repository. dynamic — DFI Cutoffs for Latent Variable Models. Homepage: https://github.com/melissagwolf/dynamic Report bugs for this package: https://github.com/melissagwolf/dynamic/issues

Notifications You must be signed in to change notification settings

cran/dynamic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dynamic

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.

Installation

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")

Example

library(dynamic)

#Lavaan object example (manual=FALSE)
dat <- lavaan::HolzingerSwineford1939
lavmod <- "F1 =~ x1 + x2 + x3
          F2 =~ x4 + x5 + x6
          F3 =~ x7 + x8 + x9"
fit <- lavaan::cfa(lavmod,dat)
cfaHB(fit)

#Manual entry example (manual=TRUE)
manmod <- "F1 =~ .602*Y1 + .805*Y2 + .857*Y3 + .631*Y4 + .345*Y5 + .646*Y6"
cfaOne(manmod,500,manual=TRUE)

Vignette

Click here.

About

❗ This is a read-only mirror of the CRAN R package repository. dynamic — DFI Cutoffs for Latent Variable Models. Homepage: https://github.com/melissagwolf/dynamic Report bugs for this package: https://github.com/melissagwolf/dynamic/issues

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages