convert_model function

convert_model

convert_model

Convert model to other format

Note that the operation is not done inplace.

convert_model(model, to_format)

Arguments

  • model: (Model) Model to convert
  • to_format: (str) Name of format to convert into. Currently supported 'generic', 'nlmixr', 'nonmem', and 'rxode'

Returns

(Model) New model object with new underlying model format

Examples

## Not run: model <- load_example_model("pheno") converted_model <- convert_model(model, "nlmixr") ## End(Not run)
  • Maintainer: Rikard Nordgren
  • License: LGPL (>= 3)
  • Last published: 2024-12-04