\Header{splineOrder}{Determine the Order of a Spline}
\methalias{splineOrder.bSpline}{splineOrder}
\methalias{splineOrder.polySpline}{splineOrder}
\keyword{models}{splineOrder}
\begin{Description}\relax
Return the order of a spline object.\end{Description}
\begin{Usage}
\begin{verbatim}
splineOrder(object)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] An object that inherits from class \code{spline}.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The order of a spline is the number
of coefficients in each piece of the piecewise polynomial
representation.  Thus a cubic spline has order 4.\end{Details}
\begin{Value}
A positive integer.\end{Value}
\begin{Author}\relax
Douglas Bates and Bill Venables\end{Author}
\begin{SeeAlso}\relax
\code{\Link{splineKnots}},
\code{\Link{interpSpline}},
\code{\Link{periodicSpline}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
data( women )
splineOrder( interpSpline( weight ~ height, women ) )
\end{ExampleCode}
\end{Examples}

