powered by
A six-variable dataset with 100 cases, with one influential case.
cfa_dat2
A data frame with 100 rows and 7 variables:
Case ID. Character.
Indicator. Numeric.
library(lavaan) data(cfa_dat2) mod <- " f1 =~ x1 + x2 + x3 f2 =~ x4 + x5 + x6 " fit <- cfa(mod, cfa_dat2) summary(fit) inf_out <- influence_stat(fit) gcd_plot(inf_out)
Run the code above in your browser using DataLab