\HeaderA{splineOrder}{Determine the Order of a Spline}{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{\LinkA{splineKnots}{splineKnots}},
\code{\LinkA{interpSpline}{interpSpline}},
\code{\LinkA{periodicSpline}{periodicSpline}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
splineOrder( interpSpline( weight ~ height, women ) )
\end{ExampleCode}
\end{Examples}

