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 )
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 addedcoresToUse
: if negative, the value is subtracted from available cores, else value = cores to usereplaceSV
: if TRUE replaces startValues in primaryStudies, else it saves them as list element initsreturns a modified list of primary studies with starting values added or replaced
## Not run: newPrimaryStudyList <- ctmaSV(ctmaInitFit=CoTiMAInitFit_6) ## End(Not run)