| panel.smooth {graphics} | R Documentation | 
Simple Panel Plot
Description
An example of a simple useful panel function to be used as
argument in e.g., coplot or pairs.
Usage
panel.smooth(x, y, col = par("col"), bg = NA, pch = par("pch"),
             cex = 1, col.smooth = 2, span = 2/3, iter = 3,
             ...)
Arguments
| x,y | numeric vectors of the same length | 
| col,bg,pch,cex | numeric or character codes for the color(s),
point type and size of  | 
| col.smooth | color to be used by  | 
| span | smoothing parameter  | 
| iter | number of robustness iterations for  | 
| ... | further arguments to  | 
See Also
coplot and pairs where panel.smooth
is typically used;
lowess which does the smoothing.
Examples
pairs(swiss, panel = panel.smooth, pch = ".")  # emphasize the smooths
pairs(swiss, panel = panel.smooth, lwd = 2, cex = 1.5, col = 4)  # hmm...
[Package graphics version 4.6.0 Index]