unit.spline.matrix {swfdr} | R Documentation |
This function uses library::bs to construct a b-spline basis from knots, using [0,1] as the boundary knots.
unit.spline.matrix(x, df = 3)
x |
numeric vector, position of internal knots within [0,1] |
matrix of dimension c(length(x), length(x))