Usage
"plot"(x, y, metric = NULL, pct = NULL, selectRecords = NULL, orderDecreasing = NULL, textSize = 0.8, textColor = "black", borderColor = "blue", xpos = NULL, ...)
Arguments
x
S3 object of class listOfModels to be plotted.
y
Not used; included for conformance with plot() generic
function parameter requirements.
metric
Character string; defines the metric to be used in
constructing the barplot. If NULL (the default), the validation
set value for the project fitting metric is used; otherwise, this
value must name one of the elements of the metrics list associated
with each model in x.
pct
Integer; specifies a samplePct value used in selecting
models to include in the barplot summary. If NULL (the default),
all project models are included. Note, however, that this list of
models is intersected with the list of models defined by the
selectRecords parameter, so that only those models identified by
both selectRecords and pct appear in the plot.
selectRecords
Integer vector; specifies the individual
elements of the list x to be included in the barplot summary.
If NULL (the default), all models are included. Note, however,
that this list of models is intersected with the list of models
defined by the pct parameter, so that only those models identified
by both selectRecords and pct appear in the plot.
orderDecreasing
Logical; if TRUE, the barplot is built from
the bottom up in decreasing order of the metric values; if FALSE,
the barplot is built in increasing order of metric values.
The default is NULL, which causes the plot to be generated in the
order in which the models appear in the list x.
textSize
Numeric; multiplicative scaling factor for the
model name labels on the barplot.
textColor
Character or character vector; if character,
this parameter specifies the text color used in labelling all
models in the barplot; if a character vector, it specifies one
color for each model in the plot.
borderColor
Character; specifies the border color for all
bars in the barplot, surrounding a transparent background.
xpos
Numeric or numeric vector; defines the horizontal
position of the center of all text labels on the plot.
The default is NULL, which causes all text to be centered in
the plot; if xpos is a single number, all text labels are centered
at this position; if xpos is a vector, it specifies one center
position for each model in the plot.
...
Additional named parameters to be passed to R's barplot
function used in generating the plot