unit.spline.matrix {swfdr} | R Documentation

## Construct a transformation matrix for a unit spline

### Description

This function uses library::bs to construct a b-spline basis from knots, using [0,1] as the boundary knots.

### Usage

    unit.spline.matrix(x, df = 3)

### Arguments

`x` | numeric vector, position of internal knots within [0,1]

### Value

matrix of dimension c(length(x), length(x))

[Package swfdr version 1.13.0 Index]