# splineOrder

0th

Percentile

##### Determine the Order of a Spline

Return the order of a spline object.

Keywords
models
##### Usage
splineOrder(object)
##### Arguments
object

An object that inherits from class "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.

splineKnots, interpSpline, periodicSpline
library(splines) # NOT RUN { splineOrder( interpSpline( weight ~ height, women ) ) # }