read_nmtables: Reads NONMEM output tables.

View source: R/read_nmtables.R

read_nmtablesR Documentation

Reads NONMEM output tables.

Description

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).

Author(s)

Bill Denney, Justin Wilkins, Niclas Jonsson, Andrew Hooker

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

Other NONMEM reading: plot_scm(), read_nm_all(), read_nm_multi_table(), read_nmcov(), read_nmext(), read_nm(), read_scm()

Examples

## Not run: 
tables <- read_nmtables(runNo=315)

## End(Not run)


kestrel99/pmxTools documentation built on Feb. 25, 2023, 1:26 p.m.