gratia version 0.5.1 now on CRAN
This release was prompted by an issue with an argument naming choice in the new smooth_estimates()
function. Some additional functionality was completed prior to realising I needed to release 0.5.1,
User visible changes
- The
newdata
argument tosmooth_estimates()
has been changed todata
as
was originally intended.
New features
-
smooth_estimates()
can now handle- bivariate and multivariate thinplate regression spline smooths, e.g.
s(x, z, a)
, - tensor product smooths (
te()
,t2()
, &ti()
), e.g.te(x, z, a)
- factor smooth interactions, e.g.
s(x, f, bs = "fs")
- random effect smooths, e.g.
s(f, bs = "re")
- bivariate and multivariate thinplate regression spline smooths, e.g.
-
penalty()
provides a tidy representation of the penalty matrices of
smooths. The tidy representation is most suitable for plotting with
ggplot()
.A
draw()
method is provided, which represents the penalty matrix as a
heatmap.