splineOrder {splines} | R Documentation |
Return the order of a spline object.
splineOrder(object)
object |
An object that inherits from class spline . |
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.
An integer vector of length 1.
Douglas Bates and Bill Venables
splineKnots
,
interpSpline
,
periodicSpline
library( splines ) data( women ) splineOrder( interpSpline( weight ~ height, women ) )