import_qmd_info: Import model parameters

View source: R/import_qmd_info.R

import_qmd_infoR Documentation

Import model parameters

Description

Import model parameters from NONMEM run

Usage

import_qmd_info(dir = NULL, prefix = "run", runno = NULL, ext = ".mod",
  file = NULL, interactive = TRUE, verbose = FALSE)

Arguments

dir

location of the model files

prefix

prefix of the model file name

runno

run number to be evaluated

ext

model file extention

file

full file name as an alternative to dir, prefix, runno and ext

interactive

if TRUE parameter labels can not be associated with their thetas, omega and sigma, the user will be asked to manually provide labels. If FALSE an error will be returned instead

verbose

if TRUE messages are printed to the console

Value

A list containing the fixed effect (theta), random effect variance (omega) typical values along with their uncertainty, the indivudual parameters (data) the nonmem ADVAN (advan), the model differential equations (des), the parsed compartment information (parsed_comp), and the parsed arrow information (parsed_arrow).

See Also

format_qmd_info, qmd

Examples

## Not run: 
qmd_info <- import_qmd_info(dir = '../models/pk/', runno = '001')

## End(Not run)

guiastrennec/modelviz documentation built on Feb. 16, 2024, 8:14 p.m.