xpose.plot.default
function.ind.plots(object,
y.vals = c(
xvardef("dv",new.obj),
xvardef("ipred",new.obj),
xvardef("pred",new.obj)
),
x.vals = xvardef("idv",new.obj),
id.vals = xvardef("id",new.obj),
key.text = y.vals,
main = "Default",
key="Default",
xlb = xlabel(xvardef("idv",object),object),
ylb = NULL,
layout = c(4,4),
inclZeroWRES = FALSE,
subset = xsubset(object),
type = "o",
grid=FALSE,
col = c(1,2,4),
lty = c(0,1,3),
lwd = c(1,1,1),
pch = c(21,32,32),
cex = c(0.7,0.7,0.7),
fill=c("lightgrey",0,0),
prompt = FALSE,
mirror=NULL,
main.cex=0.9,
max.plots.per.page=1,
pch.ip.sp=c(21,19,18),
cex.ip.sp=c(0.7,0.4,0.4),
...)
"Default"
then a default
title is plotted. Otherwise the value should be a string like
"my title"
or NULL
for no plot title. For
"Default"
the function
<
NULL
if none.NULL
if none.xsubset
.xpose.plot.default
.NULL
link{xpose.plot.default}
.xpose.plot.default
and
xpose.panel.default
for details.xpose.plot.default
,
xpose.panel.default
,
xyplot
,
strip.default
,
xpose.prefs-class
,
xpose.data-class
## 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"))
Run the code above in your browser using DataLab