## 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
## A vanilla plot
ind.plots(xpdb)
## Monochrome, suitable for manuscript or report
ind.plots(xpdb,
subset="ID>40 & ID<57",
col=c(1,1,1),
lty=c(0,2,3),
strip=function(..., bg)
strip.default(..., bg="grey"))
## IF we simulate in NONMEM using a dense grid of time points
## and all non-observed DV items are equal to zero.
ind.plots(xpdb,inclZeroWRES=TRUE,y.vals.subset=c("DV!=0","NULL","NULL"))
Run the code above in your browser using DataLab