Learn R Programming

xpose4 (version 4.5.0)

runsum: Print run summary in Xpose 4

Description

Function to build Xpose run summaries.

Usage

runsum(object,
           dir="",
           modfile=paste(dir,"run",object@Runno,".mod",sep=""),
           listfile=paste(dir,"run",object@Runno,".lst",sep=""),
           main=NULL,
           subset=xsubset(object),
           show.plots=TRUE,
           txt.cex=0.7,
           txt.font=1,
           show.ids=FALSE,
           param.table=TRUE,
           txt.columns=2,
           force.wres=FALSE,
           ...)

Arguments

object
An xpose.data object.
dir
The directory to look for the model and output file of a NONMEM run.
modfile
The name of the NONMEM control stream associated with the current run.
listfile
The name of the NONMEM output file associated with the current run.
main
A string giving the main heading. NULL if none.
subset
A string giving the subset expression to be applied to the data before plotting. See xsubset.
show.plots
Logical indicating if GOF plots should be shown in the run summary.
txt.cex
Number indicating the size of the txt in the run summary.
txt.font
Font of the text in the run summary.
show.ids
Logical indicating if IDs should be plotted in the plots for the run summary.
param.table
Logical indicating if the parameter table should be shown in the run summary.
txt.columns
The number of text columns in the run summary.
force.wres
Plot the WRES even if other residuals are available.
...
Other arguments passed to the various functions.

Value

  • A compound plot containing an Xpose run summary is created.

Examples

Run this code
## We expect to find the required NONMEM run and table files for run
## 5 in the current working directory
xpdb5 <- xpose.data(5)

## Here we load the example xpose database 
data(simpraz.xpdb)
xpdb <- simpraz.xpdb

runsum(xpdb)

Run the code above in your browser using DataLab