cfi | R Documentation |
Given two correlation matrices of the same dimension, calculate the CFI value value using the independence model as the null model.
cfi(Sigma, Omega)
Sigma |
(matrix) Population correlation or covariance matrix (with model error). |
Omega |
(matrix) Model-implied population correlation or covariance matrix. |
library(fungible)
mod <- fungible::simFA(Model = list(NFac = 3),
Seed = 42)
set.seed(42)
Omega <- mod$Rpop
Sigma <- noisemaker(
mod = mod,
method = "CB",
target_rmsea = 0.05
)$Sigma
cfi(Sigma, Omega)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.