replicateModelBy: Replicate a model for each group of data

Description Usage Arguments

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)



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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.