Unimodal Penalized Spline Regression using B-Splines
Determine the knot sequence.
Plot method for unireg objects.
Points method for unireg objects.
Predict method for unireg objects.
Print method for unireg objects.
Create the matrix of unimodality constraints.
Fitting a unimodal penalized spline regression.
Univariate spline regression. It is possible to add the shape constraint of unimodality and predefined or self-defined penalties on the B-spline coefficients.