parse_nonmem_model: NONMEM model file parser

View source: R/parse_nonmem_model.R

parse_nonmem_modelR Documentation

NONMEM model file parser

Description

Parse NONMEM model files in R format

Usage

parse_nonmem_model(dir = NULL, runno = NULL, prefix = "run",
  ext = ".mod", file = NULL)

Arguments

dir

location of the model files

runno

run number to be evaluated

prefix

prefix of the model file name

ext

model file extention

file

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

Value

A data.frame containing the parsed model code (CODE) as well as a numeric (LEVEL) and character (SUB) indexing for subroutines.

See Also

import_qmd_info, read_nmtab

Examples

## Not run: 
mod_file <- parse_nonmem_model(dir = '../models/pk/', runno = '101')

## End(Not run)

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