Description
derives start values by average discrete time SEM effects, converting them to continuous time, and inversely apply transformations used by 'ctsem'
Usage
ctmaSV(
ctmaInitFit = NULL,
activeDirectory = NULL,
primaryStudies = NULL,
coresToUse = 1,
replaceSV = TRUE
)
Value
returns a modified list of primary studies with starting values added or replaced
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
Examples
Run this codeif (FALSE) {
newPrimaryStudyList <- ctmaSV(ctmaInitFit=CoTiMAInitFit_6)
}
Run the code above in your browser using DataLab