Redefine fix.family.link.family to add derivatives to a family object
Source:R/mgcv_modified.R
fix.family.link.family.RdThis function adds the second, third, and fourth derivatives of the link function with respect to mu to the family object, which is used for Newton-like optimization.