TABR {MIfuns}R Documentation

Generate a comma-delimited table file following a successful NONMEM run

Description

TABR can be used to generate a comma-delimited table of the output from a successful NONMEM run suitable for import into Microsoft Word. TABR can also be used to add 95 analysis of final NONMEM model.

Usage

TABR(ProjectDir, i, concurrent = 1, boot = 0, bootres = NULL, btcol =
NULL, btcoll = NULL, btcolh = NULL, outname)

Arguments

ProjectDir System path to the directory containing the NONMEM control (*.ctl) streams.
i Control stream number used to generate table file. Should be numeric with no placeholder zeros to left of number, i.e., "1" not "001". Example: i=c(1)
concurrent Flag to tell TABR how control streams were executed with (1)- or (0)-sequentially(0). Flag should be "0" in Windows. Default value is "1". Example: concurrent=1
boot Flag to describe type of NONMEM run with (0)-normal, (1)-bootstrap, (2)-long runs, and (3)-bootstrap runs across entire cluster. Flag should be "0" on Windows. Example: boot=0
bootres Complete path plus name of bootstrap results file. Default is NULL. Example: bootres="/Path/to/results/file/filename"
btcol Columns to read from bootres and import into R. Must be numeric vector of numbers. Example: btcol=c(1:4)
btcoll Column header for bootres column containing lower 95 bootstrap analysis. Must be a character vector. Example: btcoll="P2.5.all"
btcolh Column header for bootres column containing upper 95 bootstrap analysis. Must be a character vector. Example: btcolh="P97.5.all"
outname Name of txt file output by TABR. Run number and "_SumTable.txt" will be appended to outname variable to create complete file name for txt file output by TABR. Must be a character vector. Example: outname="/FullPKRes"

Note

Specific file format required by TABR for bootres if 95 are to be added to comma-delimited table file.

bootres file should be comma-delimited with first row containing headers for the columns and remaining rows containing bootstrap estimates for each parameter estimated in NONMEM. Columns should correspond to parameter name, median/average, lower 95 parameter estimated in NONMEM. This should be a summary file generated from the bootstrap analysis of the NONMEM control stream specified i.

Author(s)

Developed by Metrum Institute (Bill Knebel, Tim Bergsma, and others).

References

MIfuns package available from Metrum Institute website (http://metruminstitute.org/).


[Package MIfuns version 3.2.9 Index]