integer vector specifying which plots should be
drawn;
show.k
logical indicating if the “effective
dimensionality” \(k\) should also be shown. Only applicable when
which contains 1.
col, l.col, k.col
colors for plotting; k.col only
applies when show.k is true in the first plot (which
== 1) where l.col[2] and k.col[2] are only used as well,
for denoting “doubtful” points; col is only used for
the 2nd plot (which == 2).
lwd, cex
line width and point size for the 2nd plot
(i.e. which == 2).
a vector of length 2, specifying a sub title for each
plot (according to which).
…
further arguments passed and to internal
plot methods.
Details
plot(.) produces two side-by-side plots in case there was a
search for the optimal lambda(which = 1:2), and only the
(second) data plus spline curve plot otherwise (which = 2).
# NOT RUN {example(cobs)
# }# NOT RUN {<!-- % ./cobs.Rd -->
# }
# NOT RUN {
plot(Sbs)
plot(fitted(Sbs), resid(Sbs),
main = "Tukey-Anscombe plot for cobs()",
sub = deparse(Sbs$call))
# }