cooks_dist_gamm is a helper function for
plot_diagnostics and calculates the Cook's distance for objects
of class 'gamm'. The Cook's distance D is a leave-one-out deletion diagnostics
to measure the influence of each observation. The generic
function does not work on the class 'gamm'.
The <e2><80><98>gam<e2><80><98> sublist from a model object of class
The function returns a numerical vector of the same length then the data used for the GAMM fitting, with one D value for each IND observation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.