Skip to contents

Legacy entry point retained for sister-package compatibility. New code should call read_mmdl() instead – it is the canonical user-facing importer and gains future improvements first.

Usage

create_model_from_metamodel(mmdlfile, directoryToRun)

Arguments

mmdlfile

File with metamodel description

directoryToRun

Directory where the results will be stored; if missing, a subfolder in the current directory with the model name given in parsedMetamodel will be created

Value

a list with the resulted model class instance and engine parameters. If multiple ESTARGS/SIMARGS blocks are used, a list of estimation argument classes (NlmeEngineExtraParams()) and simulation argument classes (simParamsBlock) are returned.

Details

Builds an NlmePmlModel (plus engine / simulation parameters) from a metamodel file. See Metamodel overview.

Examples

 if (FALSE) { # \dontrun{
   ModelParamsList <-
     create_model_from_metamodel(
       mmdlfile = system.file("extdata/mmdlNoTime", "test.mmdl",
                              package = "Certara.RsNLME"),
       directoryToRun = tempdir())
 } # }