Learn R Programming

xpose4 (version 4.5.3)

Read NONMEM output files: Read NONMEM output files into Xpose 4

Description

These are functions that read in a NONMEM output file (a '*.lst' file) and then format the input for various xpose4specific-package fucntions.

Usage

fix.wrapped.lines(par.mat)

read.lst(filename)

read.lst(filename) read.lst7(filename) read.lst6(filename)

read.phi(phi.file=NULL, phi.prefix="run", runno=NULL, phi.suffix=".phi", quiet=TRUE, nm7=TRUE, directory="", ...)

create.parameter.list(listfile)

calc.npar(object)

Arguments

par.mat

A parameter matrix.

filename

A NONMEM output file.

phi.file

A NONMEM .phi file

phi.prefix

prefix of a NONMEM .phi file

runno

NONMEM run number

phi.suffix

suffix of a NONMEM .phi file

quiet

Quiet or not

nm7

NM7 or not

directory

directory in which the NONMEM output files is

Items passed to functions within this function.

listfile

A NONMEM output file.

object

The return value of read.lst(filename)

Value

Internal helper functions for the generic Xpose functions.

Details

These are internal Xpose functions used to read a NONMEM output file.

fix.wrapped.lines unwraps matrix lines that NONMEM wraps in table files. Assumes no more than 60 ETAs.

read.lst parses information out of NONMEM output, specified by the filename argument, for use in run summaries.

calc.npar calculates the number and type of parameters included in a NONMEM output file