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