NEWS | R Documentation |
NEWS file for the basefun package
Changes in Version 1.2-1 (2025-01-17)
Allow to keep unused levels in
as.basis.formula
.
Changes in Version 1.2-0 (2024-05-21)
New
cyclic_basis()
for modelling seasonal effects.
Changes in Version 1.1-4 (2023-05-16)
Bernstein_basis(..., ui = c("increasing", "zerointegral")
came with incorrect constraint matrix.
Changes in Version 1.1-3 (2022-05-25)
Bernstein_basis(..., ui = "zerointegral")
came with incorrect constraint matrix.
Changes in Version 1.1-2 (2022-01-14)
Allow coefficients in matrix form.
Changes in Version 1.1-1 (2021-11-12)
Add convexity and concavity constraints to polynomials in Bernstein form.
Add toy example demonstrating constrainted curve estimation to
?Bernstein_basis
.
Changes in Version 1.1-0 (2021-03-09)
More infrastructure for
as.basis
to return aMatrix
object for ordered factors.
Changes in Version 1.0-7 (2020-02-13)
Update citation info.
Changes in Version 1.0-6 (2019-10-05)
Change name of parameter in
intercept\_basis
to(_Intercept_)
; this helps to detect intercepts originating from other calls tomodel.matrix
..
Changes in Version 1.0-5 (2019-06-20)
Make sure
bounds[1]
is positive iflog_first = TRUE
.Correct behaviour outside support when
log_first = TRUE
.
Changes in Version 1.0-4 (2019-02-25)
model.matrix
hasconstrasts
attribute where appropriate.
Changes in Version 1.0-3 (2019-01-16)
Bernstein(log()) is possible with new
log_first
argument.Fix > length 1 issues.
Changes in Version 1.0-2 (2018-09-17)
Constrain Bernstein to zero second derivative at the support when linear extrapolation shall be used. This avoids ugly bumps in the corresponding densities in mlt.
Changes in Version 1.0-1 (2018-03-27)
Replace
rBind
byrbind
as requested by MM.
Changes in Version 1.0-0 (2018-03-07)
A paper describing version 1.0-0 of the mlt, basefun, and variables packages was accepted for publication in the Journal of Statistical Software 2018-03-05.
Documentation updates.
Changes in Version 0.0-40 (2018-02-23)
nparm
sometimes generated data with sanitised variable names, we don't want this to happen.Allow positive increasing Bernstein polynomials.
Changes in Version 0.0-39 (2017-12-18)
Add
intercept_basis
, ie an intercept only model matrix.
Changes in Version 0.0-38 (2017-05-15)
model.matrix.cbind_bases
can now deal with lists asnewdata
argument (given appropriate dimensions indim
).
Changes in Version 0.0-37 (2017-04-04)
Deal with integer variables when
sumconstr = TRUE
.Remove unnecessary warning when
sumconstr = TRUE
andnegative = TRUE
.
Changes in Version 0.0-36 (2017-03-01)
Register C routines.
Changes in Version 0.0-35 (2017-02-14)
Fix bug in
predict
whennewdata
was a data frame.
Changes in Version 0.0-34 (2016-12-14)
Fix bug in
predict
whennewdata
was a list. The ordering of the resulting array may have been incorrect under rare circumstances.
Changes in Version 0.0-33 (2016-09-12)
Approximate Bernstein polynomial f outside its
support
(l, u) by a linear function f(u + x) = f(u) + f'(u) * (u - x), now also forderiv > 0
(maxderiv
argument inmodel.matrix.Bernstein_basis
. The default (linear extrapolation forderiv = 0
only) did not change.
Changes in Version 0.0-32 (2016-05-31)
Contraints in
log_basis
were potentially wrong.
Changes in Version 0.0-31 (2016-04-25)
log_basis
has better checks for positivity of the variable to be log-transformed.
Changes in Version 0.0-30 (2016-02-19)
The basefun package was first published on CRAN.