read_nmtables: Reads NONMEM output tables.

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/read_nmtables.R

Description

Reads NONMEM output tables.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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 (http://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

1
2
3
4
## Not run: 
tables <- read_nmtables(runNo=315)

## End(Not run)

pmxTools documentation built on Aug. 27, 2020, 1:10 a.m.