xpose.plot.splom(plist, object,
varnames=NULL,
main = "Scatterplot Matrix",
xlb = NULL,
ylb = NULL,
scales = list(),
onlyfirst=TRUE,
inclZeroWRES=FALSE,
subset = xsubset(object),
by=object@Prefs@Graph.prefs$condvar,
force.by.factor=FALSE,
include.cat.vars = FALSE,
ordby = NULL,
byordfun = object@Prefs@Graph.prefs$byordfun,
shingnum = object@Prefs@Graph.prefs$shingnum,
shingol = object@Prefs@Graph.prefs$shingol,
strip = function(...)
strip.default(...,strip.names=c(TRUE,TRUE)),
groups = NULL,
ids = object@Prefs@Graph.prefs$ids,
smooth = TRUE,
lmline = NULL,
panel = xpose.panel.splom,
aspect = object@Prefs@Graph.prefs$aspect,
samp=NULL,
max.plots.per.page=4,
mirror = FALSE,
mirror.aspect="fill",
pass.plot.list=FALSE,
x.cex=NULL,
y.cex=NULL,
main.cex=NULL,
mirror.internal=list(strip.missing=missing(strip)),
...)
xyplot
. NULL
~ FALSE. (y~x
)NULL
value indicates that no superposed line
should be added to the graph. If TRUE
then a smooth of the data will
be superimposed.panel.xyplot
.idlab
xpose data variable).xyplot
).by
is not NULL
,
the variable specified by by
is taken as categorical.by
). The variable
is used in a call to the reorder.factor
function.ordby
)shingnum
)xyplot
.NULL
if none.NULL
if none.NULL
if none.xsubset
.scales
argument in
xyplot
.FALSE
, TRUE
or 1
for one mirror
plot, or 3
for three mirror plots.xpose.data-class
) specifying which of the
simulated data sets to extract from SData.TRUE/FALSE
.create.mirror
. Checks if the
strip
argument from qqmath
has been used.xpose.panel.default
.ids
is TRUE
, text labels are added to the plotting
symbols. The labels are taken from the idlab
xpose data
variable. The way the text labels are plotted is governed by the
idsmode
argument (passed down to the panel
function). idsmode=NULL
(the default) means that only extreme
data points are labelled while a non-NULL
value adds labels to
all data points (the default in Xpose 3). xpose.panel.default
identifies extreme data points by fitting a loess smooth (y~x
)
and looking at the residuals from that fit. Points that are associated
with the highest/lowest residuals are labelled. "High" and "low" are
judged by the panel function parameter idsext
, which gives the
fraction of the total number of data points that are to be judged
extreme in the "up" and "down" direction. The default value for
idsext
is 0.05 (see link{xpose.prefs-class}
). There is
also a possibility to label only the high or low extreme points. This
is done through the idsdir
argument to
xpose.panel.default
. A value of "both" (the default) means that
both high and low extreme points are labelled while "up" and "down"
labels the high and low extreme points respectively.
More graphical parameters may be passed to
xpose.panel.splom
.
for example, if you want to adjust the size of the varnames
and
axis tick labels
you can use the parameters
varname.cex=0.5
and axis.text.cex=0.5
.xpose.panel.splom
,
splom
,
panel.splom
,
xpose.prefs-class
,
xpose.data-class
## xpdb5 is an Xpose data object
## We expect to find the required NONMEM run and table files for run
## 5 in the current working directory
xpdb5 <- xpose.data(5)
## CL, WT, HT, SEX with a regression line
xpose.plot.splom(c("CL", "WT", "HT", "SEX"), xpdb5, lmline = TRUE)
Run the code above in your browser using DataLab