\Header{scatter.smooth}{Scatter Plot with Smooth Curve Fitted by Loess}
\alias{loess.smooth}{scatter.smooth}
\keyword{smooth}{scatter.smooth}
\begin{Description}\relax
Plot and add a smooth curve computed by \code{loess} to a scatter plot.\end{Description}
\begin{Usage}
\begin{verbatim}
scatter.smooth(x, y, span = 2/3, degree = 1,
    family = c("symmetric", "gaussian"),
    xlab = deparse(substitute(x)), ylab = deparse(substitute(y)),
    ylim = range(y, prediction$y), evaluation = 50, ...)
loess.smooth(x, y, span = 2/3, degree = 1,
    family = c("symmetric", "gaussian"), evaluation=50, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] x coordinates for scatter plot.
\item[\code{y}] y coordinates for scatter plot.
\item[\code{span}] smoothness parameter for \code{loess}.
\item[\code{degree}] degree of local polynomial used.
\item[\code{family}] if \code{"gaussian"} fitting is by least-squares, and if
\code{family="symmetric"} a re-descending M estimator is used.
\item[\code{xlab}] label for x axis.
\item[\code{ylab}] label for y axis.
\item[\code{ylim}] the y limits of the plot.
\item[\code{evaluation}] number of points at which to evaluate the smooth
curve.
\item[\code{...}] graphical parameters.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
\code{loess.smooth} is an auxiliary function.\end{Details}
\begin{Value}
None.\end{Value}
\begin{Author}\relax
B.D. Ripley\end{Author}
\begin{SeeAlso}\relax
\code{\Link{loess}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
data(cars)
attach(cars)
scatter.smooth(speed, dist)
detach()
\end{ExampleCode}
\end{Examples}

