Releases: gavinsimpson/gratia
gratia version 0.3.1
This version of gratia was prompted by changes in the upcoming 4.0.0 release of R, which makes changes to the stringsAsFactors
default to be FALSE
. A number of tests relied inadvertently on the implicit coercion of character vectors to factors and the derivative code made some assumptions about data only contains numeric of factor variables.
New features
In addition, this version of gratia includes new functions for extracting the link functions from models, and has been updated to work with the forthcoming release of the tibble package.
-
New functions
link()
andinv_link()
to access the link function and its
inverse from fitted models and family functions.Methods for classes:
"glm"
,"gam"
,"bam"
,"gamm"
currently. #58 -
Adds explicit
family()
methods for objects of classes"gam"
,"bam"
, and
"gamm"
. -
derivatives()
now handles non-numeric when creating shifted data for finite
differences. Fixes a problem withstringsAsFactors = FALSE
default in R-devel.
#64
Bug fixes
- Updated gratia to work with tibble versions >= 3.0
Bug fix release
This release fixes a bug in the use of the select
argument to draw.gam()
, which was resulting in the wrong smooths being plotted.
First CRAN submission of gratia
gratia recently reached version 0.2-0 and after some last-minute teething issues related to a new release of the tibble package, gratia was submitted to CRAN.
The package is ready for public release and has been widely tested against a range of estimated models. In particular, the package is now used to support a paper that I've been involved with writing on hierarchical GAMs.