The R Project SVN R

Rev

Rev 3475 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

\name{panel.smooth}
\title{Simple Panel Plot}
\usage{panel.smooth(x, y, col, pch, span=2/3, iter=3, \dots)}
\alias{panel.smooth}
\arguments{
 \item{x,y}{numeric vectors of the same length}
 \item{col,pch}{numeric or character codes for the color and point type;
   see \code{\link{par}}}
 \item{span}{smoothing parameter \code{f} for \code{\link{lowess}}, see there.}
 \item{iter}{number of robustness iterations for \code{\link{lowess}}.}
 \item{\dots}{further arguments to \code{\link{lines}}.}
}
\description{
An example of a simple useful \code{panel} function to be used as
argument in e.g., \code{\link{coplot}} or \code{\link{pairs}}.
}
\seealso{\code{\link{coplot}(.)} and \code{\link{pairs}(.)} where
  \code{panel.smooth} is typically used; \code{\link{lowess}}.}
\examples{
data(swiss)
pairs(swiss, panel = panel.smooth, pch = ".")# emphasize the smooths
}
\keyword{hplot}
\keyword{dplot}