plotvgam.control {VGAM} | R Documentation |
Provides default values for many arguments available for
plotvgam()
.
plotvgam.control(which.cf = NULL, xlim = NULL, ylim = NULL, llty = par()$lty, slty = if (is.R()) "dashed" else 3, pcex = par()$cex, pch = par()$pch, pcol = par()$col, lcol = par()$col, rcol = par()$col, scol = par()$col, llwd = par()$lwd, slwd = par()$lwd, add.arg = FALSE, one.at.a.time = FALSE, .include.dots = TRUE, ...)
which.cf |
Integer vector specifying which component functions are to be plotted (for each covariate). Must have values from the set {1,2,...,M}. |
xlim |
Range for the x-axis. |
ylim |
Range for the y-axis. |
llty |
Line type for the fitted functions (lines).
Fed into par(lty) . |
slty |
Line type for the standard error bands.
Fed into par(lty) . |
pcex |
Character expansion for the points (residuals).
Fed into par(cex) . |
pch |
Character used for the points (residuals).
Same as par(pch) . |
pcol |
Color of the points.
Fed into par(col) . |
lcol |
Color of the fitted functions (lines).
Fed into par(col) . |
rcol |
Color of the rug plot.
Fed into par(col) . |
scol |
Color of the standard error bands.
Fed into par(col) . |
llwd |
Line width of the fitted functions (lines).
Fed into par(lwd) . |
slwd |
Line width of the standard error bands.
Fed into par(lwd) . |
add.arg |
Logical. If TRUE , the plot will be added
to an existing plot, otherwise a new plot will be made. |
one.at.a.time |
Logical. If TRUE , the plots are done
one at a time, with the user having to hit the return key
between the plots. |
.include.dots |
Not to be used by the user. |
... |
Other arguments that may be fed into par() . |
In the above, M is the number of linear/additive predictors.
The most obvious features of plotvgam
can be
controlled by the above arguments.
A list with values matching the arguments.
This function enables plotvgam()
to work in a similar
manner to S-PLUS's plot.gam()
. However, there is no
interactive options yet.
Thomas W. Yee
Yee, T. W. and Wild, C. J. (1996) Vector generalized additive models. Journal of the Royal Statistical Society, Series B, Methodological, 58, 481–493.
Documentation accompanying the VGAM package at http://www.stat.auckland.ac.nz/~yee contains further information and examples.
plotvgam.control(lcol=c("red", "blue"), scol="darkgreen", se=TRUE)