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) Model to convert

to_format

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

Value

(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)


pharmpy/pharmr documentation built on Feb. 15, 2025, 3:22 a.m.