R/abfit.R
bbase.Rd
Generate a spline basis, slightly adapted from : "Splines, knots, and penalties", Eilers 2010.
bbase(N, number, deg = 3)
N | number of data points. |
---|---|
number | number of spline functions. |
deg | spline degree : deg = 1 linear, deg = 2 quadratic, deg = 3 cubic. |
spline basis as a matrix.