Usage
## S3 method for class 'mat':
plot(x,
which = c(1:3, 5),
weighted = FALSE,
k,
caption = c("Inferred vs Observed", "Residuals vs Fitted",
"Leave-one-out errors", "Average bias",
"Maximum bias"),
max.bias = TRUE,
n.bias = 10,
restrict = 20,
sub.caption = NULL,
main = "",
ask = prod(par("mfcol")) < length(which) &&
dev.interactive(),
...,
panel = if (add.smooth) panel.smooth else points,
add.smooth = getOption("add.smooth"))
Arguments
x
an object of class "mat"
.
which
which aspects of the "mat"
object to plot if a
subset of the plots is required, specify a subset of the numbers
1:5
.
weighted
logical; should the analysis use weighted mean of env
data of analogues as fitted/estimated values?
k
numeric; the number of analogues to use. If missing k
is chosen automatically as the k
that achieves lowest RMSE.
caption
captions to appear above the plots.
max.bias
logical, should max bias lines be added to residuals.
n.bias
numeric, number of sections to calculate maximum bias
for.
restrict
logical; restrict comparison of k-closest model to
$k \le$ restrict
.
sub.caption
common title-above figures if there are multiple;
used as sub (s.title) otherwise. If NULL
,
as by default, a possibly shortened version of
deparse(x$call)
is used.
main
title to each plot-in addition to the above
caption
.
ask
logical; if TRUE
, the user is asked before
each plot, see par(ask=.)
.
...
graphical arguments passed to other graphics functions.
panel
panel function. The useful alternative to
points
, panel.smooth
, can be chosen by
add.smooth = TRUE
.
add.smooth
logical indicating if a smoother should be added to
fitted & residuals plots; see also panel
above.