ctmaSV function

ctmaSV

ctmaSV

derives start values by average discrete time SEM effects, converting them to continuous time, and inversely apply transformations used by 'ctsem'

ctmaSV( ctmaInitFit = NULL, activeDirectory = NULL, primaryStudies = NULL, coresToUse = 1, replaceSV = TRUE )

Arguments

  • ctmaInitFit: object to which all single 'ctsem' fits of primary studies has been assigned to (i.e., what has been returned by ctmaInit)
  • activeDirectory: defines another active directory than the one used in ctmaInit
  • primaryStudies: if ctmaInitFit does not contain the primaryStudies object created with ctmaPrep it could be added
  • coresToUse: if negative, the value is subtracted from available cores, else value = cores to use
  • replaceSV: if TRUE replaces startValues in primaryStudies, else it saves them as list element inits

Returns

returns a modified list of primary studies with starting values added or replaced

Examples

## Not run: newPrimaryStudyList <- ctmaSV(ctmaInitFit=CoTiMAInitFit_6) ## End(Not run)