Skip to content

Releases: wenjie2wang/splines2

splines2 0.4.2

21 Feb 15:49
cb40811
Compare
Choose a tag to compare

New features

  • Added knots() methods to extract internal knots and boundary knots from a
    given splines2 object.

Major changes

  • Updated the generation of the knot sequence for period M-splines following
    Piegl and Tiller (1997), which relaxed the previous requirement that
    length(knots) >= degree to length(knots) >= degree - 1.

splines2 0.4.1

07 Jan 13:16
6b1d343
Compare
Choose a tag to compare

New features

  • Added function naturalSpline() providing implementation of nonnegative natural cubic splines.
  • Added argument periodic to function mSpline() for periodic M-splines.
  • Added argument integral to function mSpline() for integrals of M-splines or periodic M-splines.
  • Added deriv(), predict(), and print() method for naturalSpline class object.

Minor changes

  • Updated the deriv() method for mSpline class object for periodic M-splines.

splines2 0.3.1

14 Jul 13:44
fc4295f
Compare
Choose a tag to compare

Minor changes

  • Modified testing examples for CRAN tests on r-patched-solaris-x86 and
    r-oldrel-macos-x86_64.

splines2 0.3.0

09 Jul 17:12
8eb3b48
Compare
Choose a tag to compare

New features

  • Added generalized Bernstein polynomials in function BersteinPoly.
  • Added C++ interface that can be easily integrated with Rcpp.

Major changes

  • Changed most implementations from R to C++ with help of Rcpp and
    RcppArmadillo to boost the performance.

Minor changes

  • Made piece-wise constant bases continuous at right boundary knot for
    consistency with spline bases of non-zero degrees.
  • Changed the default value of argument intercept in function iSpline and
    cSpline to TRUE for a complete set of spline bases in shape-restricted
    regression.
  • Removed the corresponding M-spline basis from attributes of outputs from
    iSpline and cSpline.
  • Removed the corresponding B-spline basis from attributes of outputs from
    bSpline.

Bug fixes

  • Fixed deriv.mSpline method for third derivatives of scaled C-splines.

splines2 0.2.8

14 Jun 19:23
52dd089
Compare
Choose a tag to compare

Bug fixes

  • Fixed inconsistency of argument df for piece-wise constant bases when
    knots = NULL.

splines2 0.2.7

02 Dec 02:51
Compare
Choose a tag to compare

Minor changes

  • Updated tests for R development version.

splines2 0.2.6

11 Sep 01:57
Compare
Choose a tag to compare

Minor changes

  • Added checks for any internal knot incorrectly placed outside of the boundary
    knots and added warnings for users' reference.

splines2 0.2.5

10 Feb 14:20
Compare
Choose a tag to compare

Minor changes

  • Added more tests and increased code coverage.

Bug fixes

  • Fixed evaluation of derivatives of M-splines for a single value. Thanks Ina
    Jazic for reporting the bug and providing possible fix.
  • Fixed deriv.cSpline method for derivatives of order greater than two when
    scale = TRUE.

splines2 0.2.4

10 Jan 23:47
Compare
Choose a tag to compare

New features

  • Added function dbs generating derivative of given order of B-splines. It is
    a similar function with splines::splineDesign. However, it provides a more
    user-friendly interface and more consistent handling on NA's.
  • Added deriv methods for derivatives of given order of any existing
    splines2 object that can be generated currently.

Major changes

  • Added argument derivs to function mSpline and iSpline for derivatives.
  • Changed all the classes of object generated for a better dispatching on
    methods.

Minor changes

  • Added tests for all major functions with the help of package testthat.

Bug fixes

  • Fixed the generation of splines without any internal knot.

splines2 0.2.3

11 Dec 00:17
Compare
Choose a tag to compare

Bug fixes

  • Fixed one-piece constant basis for M-splines.