fitSubmodels: Fit multigroup model for evaluating a candidate split

View source: R/fitSubmodels.R

fitSubmodelsR Documentation

Fit multigroup model for evaluating a candidate split

Description

Fit multigroup model for evaluating a candidate split

Usage

fitSubmodels(
  model,
  subset1,
  subset2,
  control,
  invariance = NULL,
  return.models = FALSE
)

Arguments

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 semtree.control object

invariance

fit models with invariant parameters if given. NULL otherwise (default).

return.models

boolean. Return the fitted models returns NA if fit fails


semtree documentation built on May 29, 2024, 4:05 a.m.