# predict.bs

##### Evaluate a Spline Basis

Evaluate a predefined spline basis at given values.

- Keywords
- smooth

##### Usage

```
"predict"(object, newx, ...)
"predict"(object, newx, ...)
```

##### Arguments

##### Value

##### See Also

##### Examples

`library(splines)`

```
require(stats)
basis <- ns(women$height, df = 5)
newX <- seq(58, 72, length.out = 51)
# evaluate the basis at the new data
predict(basis, newX)
```

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

### Community examples

Looks like there are no examples yet.