ctmaFitToPrep function

ctmaFitToPrep

ctmaFitToPrep

Extracts information from fitted CoTiMA objects to (re-)crearte list of primary studies originally created with ctmaPrep

ctmaFitToPrep(ctmaFitObject = NULL, reUseEmprawData = FALSE)

Arguments

  • ctmaFitObject: ctmaFitObject
  • reUseEmprawData: whether data should be transferred (will be re-used in subsequent fit attempts)

Returns

list that could be used for fitting new CoTiMA models with ctmaInit or ctmaFit.

Examples

newStudyList <- ctmaFitToPrep(CoTiMAInitFit_3)