process.runrec: Format runrecord for reports

View source: R/process.runrec.r

process.runrecR Documentation

Format runrecord for reports

Description

Process the run record into a data frame ready for integration into LaTeX report. Note that the function assumes runrecord has been run with PsN option -maxlvl = 0 and the function depends on input from read.runrec

Usage

process.runrec(
  runrec,
  improvement = list(value = -6.63, color = "blue"),
  carryAlong = NULL,
  plain = FALSE
)

Arguments

runrec

outut from read.runrec

improvement

a list with elements value (numeric) and color (character) to emphasize significant improvements. Value defaults to -6.63, for a p<0.01 improvement for a single parameter added.

carryAlong

any additional variable to be included (would need to be present in runrec)

plain

optional toggle to create a non-LaTeX formatted table

Value

Either a LaTeX preformatted runrecord table (default) or a fully processed runrecord table without LaTeX preformatting (for inclusion into Microsoft products).

See Also

read.runrec, process.parTable

Examples

rr = read.runrec(
 filename = "AAruninfo.txt",
 path = system.file(package = 'qpToolkit','NONMEM')
)
process.runrec(rr)
process.runrec(rr, plain = TRUE)

qPharmetra/qpToolkit documentation built on May 24, 2023, 8:52 a.m.