Define NlmePmlModel model class instance from metamodel blocks and creates NlmePmlModel model class from the given parsed metamodel. See Metamodel overview.

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.

See also

Examples

 if (FALSE) {
   ModelParamsList <-
     create_model_from_metamodel(mmdlfile = "Inf1CPT.mmdl")
 }