Skip to content
Prev 65246 / 398506 Next

constraining initial slope in smoother.spline

- you should be able to modify the example in the help file for 
mgcv::pcls, to do this. The example uses inequality constraints to impose 
monotonicity on a smooth, but the routine will also accept equality 
constraints.

Simon