Runs an IQRsysProject

Runs an IQRsysProject

run_IQRsysProject(
  projectPath,
  ncores = 1,
  FLAGrequireConverged = TRUE,
  FLAGgof = TRUE,
  FLAGgofStratify = FALSE,
  FLAGclean = TRUE
)

Arguments

projectPath

an IQRsys Project

ncores

number of cores to use (uses mclapply -> only on Unix/Mac). These are not the number of cores for a single fit but apply only to multi start fitting runs. Parallelization of single runs needs to be defined during the generation of an IQRsysProject!

FLAGrequireConverged

(Default: TRUE) Require convergence of the best fit to continue. If best fit is not converged, the project is saved directly after fitting and no plots are produced.

FLAGgof

generate diagnostic plots

FLAGgofStratify

additional GoF plots stratified by covariates in the dataset are produced. For continuous covariates 2 groups are selected (smaller than median and greater equal than median).

FLAGclean

Logical. If TRUE then the files RESULTSORIG/project_result.sysfit and project_model.sysfit will be deleted from the project folder. This saves considerable space but does not allow anymore to load the sysmodel.

Value

dMod.frame including the original project and all the results. In addition, results are written to disc.

Author

Daniel Lill