| % File src/library/splines/man/splineOrder.Rd | |
| % Part of the R package, https://www.R-project.org | |
| % Copyright 1995-2007 R Core Team | |
| % Distributed under GPL 2 or later | |
| \name{splineOrder} | |
| \alias{splineOrder} | |
| \title{Determine the Order of a Spline} | |
| \description{ | |
| Return the order of a spline object. | |
| } | |
| \usage{ | |
| splineOrder(object) | |
| } | |
| \arguments{ | |
| \item{object}{An object that inherits from class \code{"spline"}.} | |
| } | |
| \details{ | |
| 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. | |
| } | |
| \value{ | |
| A positive integer. | |
| } | |
| \author{Douglas Bates and Bill Venables} | |
| \seealso{ | |
| \code{\link{splineKnots}}, | |
| \code{\link{interpSpline}}, | |
| \code{\link{periodicSpline}} | |
| } | |
| \examples{ | |
| splineOrder( interpSpline( weight ~ height, women ) ) | |
| } | |
| \keyword{ models } |