This help topic is for R version 0.90. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/splines/html/splineOrder.html
splineOrder {splines}R Documentation

Determine the Order of a Spline

Description

Return the order of the object. 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.

Usage

splineOrder(object)

Arguments

object

An object that inherits from class spline.

Value

An integer vector of length 1.

Author(s)

Douglas Bates and Bill Venables

See Also

splineKnots, interpSpline, periodicSpline

Examples

library( splines )
data( women )
splineOrder( interpSpline( weight ~ height, women ) )

[Package splines version 0.90 ]