ctmaSV: ctmaSV

View source: R/ctmaSV.R

ctmaSVR Documentation

ctmaSV

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
)

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

Value

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

Examples

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

## End(Not run)


CoTiMA documentation built on May 29, 2024, 11:39 a.m.

Related to ctmaSV in CoTiMA...