\Header{profile}{Generic Function for Profiling Models}
\keyword{models}{profile}
\begin{Description}\relax
Investigates behavior of objective function near the solution
represented by \code{fitted}.

See documentation on method functions for further details.\end{Description}
\begin{Usage}
\begin{verbatim}
profile(fitted, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{fitted}] the original fitted model object.
\item[\code{...}] additional parameters. See documentation on individual
methods.
\end{ldescription}
\end{Arguments}
\begin{Value}
A list with an element for each parameter being profiled. See the
individual methods for further details.\end{Value}
\begin{SeeAlso}\relax
\code{\Link{profile.nls}} in package \pkg{nls},
\code{\Link{profile.glm}} in package \pkg{MASS},
\ldots

For profiling code, see \code{\Link{Rprof}}.\end{SeeAlso}

