replicateModelBy: Replicate a model for each group of data

Description Usage Arguments

View source: R/model.R

Description

The reference group is fixed to a zero mean and identity covariance matrix.

Usage

1
2
replicateModelBy(tmpl, fullData, mMat, covMat, ..., splitCol = "population",
  refGroup = "general", split = TRUE, compressData = TRUE)

Arguments

tmpl

an OpenMx model

fullData

the complete data including the column indicating group membership

mMat

an MxMatrix for latent means

covMat

an MxMatrix for latent covariance

...

Not used. Forces remaining arguments to be specified by name.

splitCol

the name of the column used to indicate group membership

refGroup

the name of the reference group

split

whether to split the data (defaults to TRUE)

compressData

whether to apply compressDataFrame (defaults to TRUE)


ifaTools documentation built on May 29, 2017, 10:41 a.m.

Search within the ifaTools package
Search all R packages, documentation and source code