convert_model {pharmr}R 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)


[Package pharmr version 1.0.1 Index]