Skip to content

splines2 0.4.4

Compare
Choose a tag to compare
@wenjie2wang wenjie2wang released this 16 Aug 12:04
· 130 commits to main since this release
09dd651

New features

  • Added the makepredictcall() methods for all available spline basis functions
    to help model.frame.default() create the right matrices when predicting from
    models with terms such as bSpline(), etc. Thanks Zheyuan Li for suggesting
    this feature.
  • Added arguments derivs and integal to bSpline() for consistency with
    mSpline() and bernsteinPoly(), etc.

Minor changes

  • Made the internal checking procedure more strict to throw an error if any
    internal knots are placed at or outside boundary:
    issue 5.

Bug fixes

  • Fixed the predict() method for cSpline objects when scale = FALSE.