This is the box-and-whisker panel function for Xpose 4. This is not
intended to be used outside the xpose.plot.bw
function.
Most of the arguments take their default values from xpose.data object but this
can be overridden by supplying them as arguments to xpose.plot.bw
.
xpose.panel.bw(x, y, object,
subscripts,
groups = NULL,
inclZeroWRES = FALSE,
onlyfirst = FALSE,
samp = NULL,
xvarnam = NULL,
yvarnam = NULL,
type = object@Prefs@Graph.prefs$type,
col = object@Prefs@Graph.prefs$col,
pch = object@Prefs@Graph.prefs$pch,
cex = object@Prefs@Graph.prefs$cex,
lty = object@Prefs@Graph.prefs$lty,
fill = object@Prefs@Graph.prefs$col,
ids = NULL,
idsmode = object@Prefs@Graph.prefs$idsmode,
idsext = object@Prefs@Graph.prefs$idsext,
idscex = object@Prefs@Graph.prefs$idscex,
idsdir = object@Prefs@Graph.prefs$idsdir,
bwhoriz = object@Prefs@Graph.prefs$bwhoriz,
bwratio = object@Prefs@Graph.prefs$bwratio,
bwvarwid = object@Prefs@Graph.prefs$bwvarwid,
bwdotpch = object@Prefs@Graph.prefs$bwdotpch,
bwdotcol = object@Prefs@Graph.prefs$bwdotcol,
bwdotcex =object@Prefs@Graph.prefs$bwdotcex,
bwreccol = object@Prefs@Graph.prefs$bwreccol,
bwrecfill = object@Prefs@Graph.prefs$bwrecfill,
bwreclty = object@Prefs@Graph.prefs$bwreclty,
bwreclwd = object@Prefs@Graph.prefs$bwreclwd,
bwumbcol = object@Prefs@Graph.prefs$bwumbcol,
bwumblty = object@Prefs@Graph.prefs$bwumblty,
bwumblwd = object@Prefs@Graph.prefs$bwumblwd,
bwoutcol = object@Prefs@Graph.prefs$bwoutcol,
bwoutcex = object@Prefs@Graph.prefs$bwoutcex,
bwoutpch = object@Prefs@Graph.prefs$bwoutpch,
grid = object@Prefs@Graph.prefs$grid,
logy = FALSE,
logx = FALSE,
force.x.continuous = TRUE,
binvar = NULL,
bins = 10,
...)
Name(s) of the x-variable.
Name(s) of the y-variable.
An xpose.data object.
The standard Trellis subscripts argument (see
xyplot
).
Name of the variable used for superpose plots.
Logical value indicating whether rows with WRES=0 is included in the plot.
Logical value indicating whether only the first row per individual is included in the plot.
An integer between 1 and object@Nsim
(seexpose.data-class
) specifying which of the
simulated data sets to extract from SData.
Character string with the name of the x-variable.
Character string with the name of the y-variable.
Character value indicating the type of display to use: "l"=lines, "p"=points, "b"=both points and lines.
Colour of lines and plot symbols.
Plot character to use.
Size of the plot characters.
Line type.
Fill colour.
Character value with the name of the variable to label data points with.
Determines the way text labels are added to
plots. NULL
means that only extreme points are
labelled. Non-NULL
means all data points are labelled. (See
link{xpose.plot.default}
)
See link{xpose.plot.bw}
Size of text labels.
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. See xpose.plot.bw
logical value indicating whether box and whiskers should be horizontal or not. The default is FALSE.
Ratio of box height to inter-box space. The default is 1.5.
An argument for panel.bwplot
.
Logical. If TRUE, widths of boxplots are proportional to the
number of points used in creating it. The default is FALSE. An argument
for panel.bwplot
.
Graphical parameter controlling the dot plotting character
'bwdotpch="|"' is treated specially, by replacing
the dot with a line. The default is 16. An argument for panel.bwplot
.
Graphical parameter controlling the dot colour - an integer or
string. See 'col'. The default is black. An argument for panel.bwplot
.
The amount by which plotting text and symbols should be scaled
relative to the default. 'NULL' and 'NA' are equivalent to '1.0'. An argument
for panel.bwplot
.
The colour to use for the box rectangle - an integer or string.
The default is blue. See trellis.par.get
and "box.rectangle".
The colour to use for filling the box rectangle - an integer
or string. The default is transparent (none). See trellis.par.get
and "box.rectangle".
The line type for the box rectangle - an integer or string.
The default is solid. See trellis.par.get
and "box.rectangle".
The width of the lines for the box rectangle - an integer. The
default is 1. See trellis.par.get
and "box.rectangle".
The colour to use for the umbrellas - an integer or string.
The default is blue. See trellis.par.get
and "box.umbrella".
The line type for the umbrellas - an integer or string. The
default is solid.See trellis.par.get
and "box.umbrella".
the width of the lines for the umbrellas - an integer. The
default is 1. See trellis.par.get
and "box.umbrella".
The colour to use for the outliers - an integer or string.
The default is blue. See trellis.par.get
and "box.symbol".
The amount by which outlier points should be scaled relative
to the default. 'NULL' and 'NA' are equivalent to '1.0'. The default
is 0.8. See trellis.par.get
and "box.symbol".
The plotting character, or symbol, to use for outlier points.
Specified as an integer. See R help on 'points'. The default is an open
circle. See trellis.par.get
and "box.symbol".
logical value indicating whether a visual reference grid should be added to the graph. (Could use arguments for line type, color etc).
Logical value indicating whether the y-axis should be logarithmic.
Logical value indicating whether the x-axis should be logarithmic.
Logical value indicating whether x-values should be taken as continuous, even if categorical.
Variable to be used for binning.
The number of bins to be used. The default is 10.
Other arguments that may be needed in the function.
xpose.data-class
, Cross-references above.