Learn R Programming

monolix2rx (version 0.0.6)

mlxtran: Read and parse mlxtran lines

Description

Read and parse mlxtran lines

Usage

mlxtran(file, equation = FALSE, update = FALSE)

Value

mlxtran object

Arguments

file

mlxtran file to process

equation

parse the equation block to rxode2 (some models cannot be translated)

update

when true, try to update the parameter block to the final parameter estimates

Author

Matthew L. Fidler

Examples

Run this code
# First load in the model; in this case the theo model
# This is modified from the Monolix demos by saving the model
# File as a text file (hence you can access without model library)
# setup.
#
# This example is also included in the monolix2rx package, so
# you refer to the location with `system.file()`:

pkgTheo <- system.file("theo", package="monolix2rx")

mlx <- mlxtran(file.path(pkgTheo, "theophylline_project.mlxtran"))

mlx

Run the code above in your browser using DataLab