# polySpline

##### Piecewise Polynomial Spline Representation

Create the piecewise polynomial representation of a spline object.

- Keywords
- models

##### Usage

```
polySpline(object, …)
as.polySpline(object, …)
```

##### Arguments

- object
An object that inherits from class

`spline`

.- …
Optional additional arguments. At present no additional arguments are used.

##### Value

An object that inherits from class `polySpline`

. This is the
piecewise polynomial representation of a univariate spline function.
It is defined by a set of distinct numeric values called knots. The
spline function is a polynomial function between each successive pair
of knots. At each interior knot the polynomial segments on each side
are constrained to have the same value of the function and some of its
derivatives.

##### See Also

##### Examples

`library(splines)`

```
# NOT RUN {
require(graphics)
ispl <- polySpline(interpSpline( weight ~ height, women, bSpline = TRUE))
print( ispl ) # print the piecewise polynomial representation
plot( ispl ) # plots over the range of the knots
points( women$height, women$weight )
# }
```

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

### Community examples

Looks like there are no examples yet.