# splineOrder

##### 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.

##### See Also

##### Examples

`library(splines)`

```
# NOT RUN {
splineOrder( interpSpline( weight ~ height, women ) )
# }
```

*Documentation reproduced from package splines, version 3.4.3, License: Part of R 3.4.3*

### Community examples

Looks like there are no examples yet.