\Header{asVector}{Coerce an Object to a Vector}
\methalias{asVector.xyVector}{asVector}
\keyword{models}{asVector}
\begin{Description}\relax
This is a generic function.  Methods for this function coerce objects of
given classes to vectors.\end{Description}
\begin{Usage}
\begin{verbatim}
asVector(object)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] An object.
\end{ldescription}
\end{Arguments}
\begin{Value}
a vector\end{Value}
\begin{Author}\relax
Douglas Bates and Bill Venables\end{Author}
\begin{SeeAlso}\relax
\code{\Link{xyVector}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
library( splines )
data( women )
ispl <- interpSpline( weight ~ height,  women )
pred <- predict(ispl)
class(pred)
str(pred)
asVector(pred)
\end{ExampleCode}
\end{Examples}

