fit.isc: Fit confirmatory factor analysis model with two groups

Description Usage Arguments Examples

Description

Fit confirmatory factor analysis model with two groups

Usage

1
fit.isc(df, f.names = c("f1", "f2"))

Arguments

df

data.frame with names indicating group membership

f.names

a 2-item vector used to grep the 1st and 2nd factor columns

Examples

1
2
3
d = data.frame(gen.cordata(.5, 6, 100))
names(d) <- paste0(c(rep(c('f1', 'f2'), each=3)), 1:6)
fit.isc(d)

machow/isctools documentation built on May 21, 2019, 10:51 a.m.