Skip to contents

Reads NONMEM output tables.

Usage

read_nmtables(
  tableFiles = NULL,
  runNo = NULL,
  tabSuffix = "",
  tableNames = c("sdtab", "mutab", "patab", "catab", "cotab", "mytab", "extra", "xptab"),
  quiet = FALSE,
  directory = NULL,
  output_type = c("data.frame", "list"),
  ...
)

Arguments

tableFiles

NONMEM table files to be read.

runNo

Run number.

tabSuffix

Table file suffix.

tableNames

List of root table names, using the Xpose naming convention as the default.

quiet

Flag for displaying intermediate output.

directory

The directory to look for files within. If NULL, uses the current directory.

output_type

Should output be a "data.frame" where all results are merged or a "list" of data.frames.

...

Passed to each of the read functions (ignored in the functions).

Value

A data.frame or list of data.frames depending on the output_type argument.

Note

Adapted from Xpose 4 (https://CRAN.R-project.org/package=xpose4).

References

NONMEM (https://www.iconplc.com/innovation/nonmem/)

Jonsson EN, Karlsson MO. Xpose–an S-PLUS based population pharmacokinetic/pharmacodynamic model building aid for NONMEM. Comput Methods Programs Biomed. 1999 Jan;58(1):51-64

See also

Author

Bill Denney, Justin Wilkins, Niclas Jonsson, Andrew Hooker

Examples

if (FALSE) { # \dontrun{
tables <- read_nmtables(runNo=315)
} # }