fitSubmodels | R Documentation |
Fit multigroup model for evaluating a candidate split
fitSubmodels(
model,
subset1,
subset2,
control,
invariance = NULL,
return.models = FALSE
)
model |
A model specification that is used as template for each of the two groups |
subset1 |
Dataset for the first group model |
subset2 |
Dataset for the second group model |
control |
a |
invariance |
fit models with invariant parameters if given. NULL otherwise (default). |
return.models |
boolean. Return the fitted models returns NA if fit fails |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.