convert_model: convert_model

View source: R/functions_wrapper.R

convert_modelR Documentation

convert_model

Description

Convert model to other format

Note that the operation is not done inplace.

Usage

convert_model(model, to_format)

Arguments

model

(Model) Pharmpy model

to_format

(str) Name of format to convert into. Currently supported 'generic', 'nlmixr', 'nonmem', and 'rxode'

Value

(Model) Updated Pharmpy model

Examples

## Not run: 
model <- load_example_model("pheno")
converted_model <- convert_model(model, "nlmixr")

## End(Not run)


pharmr documentation built on May 28, 2026, 5:08 p.m.