## 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
absval.iwres.vs.ipred(xpdb)
## A conditioning plot
absval.iwres.vs.ipred(xpdb, by="HCTZ")
## Custom heading and axis labels
absval.iwres.vs.ipred(xpdb, main="My conditioning plot", ylb="|IWRES|", xlb="IPRED")
## Custom colours and symbols, no IDs
absval.iwres.vs.ipred(xpdb, cex=0.6, pch=3, col=1, ids=FALSE)
Run the code above in your browser using DataLab