Learn R Programming

pharmr (version 1.4.0)

convert_model: convert_model

Description

Convert model to other format

Note that the operation is not done inplace.

Usage

convert_model(model, to_format)

Value

(Model) New model object with new underlying model format

Arguments

model

(Model) Model to convert

to_format

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

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
converted_model <- convert_model(model, "nlmixr")
}

Run the code above in your browser using DataLab