Learn R Programming

nonmem2R (version 0.2.5)

modload: Show model file

Description

Load and dump model file in the consol.

Usage

modload(model, use.model.path = TRUE)

Value

data.frame

Arguments

model

name of the mod file with or without the .mod extension. model may include full or relative path to the mod file. See examples.

use.model.path

Load file from a global defined model library (TRUE=default). If so will look for a global character vector named model.path

Examples

Run this code
##### Load the .ext file "run001.mod"
# 1) Get path to the example file included in nonmem2R package
file1 <- system.file("extdata", "run001.mod", package = "nonmem2R")
# 2) Load the file using the extload function
modload(file1)

Run the code above in your browser using DataLab