| influence.spmodel | R Documentation | 
Provides basic quantities which are used in forming a wide variety of diagnostics for checking the quality of fitted model objects.
## S3 method for class 'splm'
influence(model, ...)
## S3 method for class 'spautor'
influence(model, ...)
## S3 method for class 'spglm'
influence(model, ...)
## S3 method for class 'spgautor'
influence(model, ...)
| model | A fitted model object from  | 
| ... | Other arguments. Not used (needed for generic consistency). | 
This function calls residuals.spmodel(), hatvalues.spmodel(),
and cooks.distance.spmodel() and puts the results into a tibble. It is
primarily used when calling augment.spmodel().
A tibble with residuals (.resid), leverage values (.hat),
cook's distance (.cooksd), and standardized residuals (.std.resid).
augment.spmodel() cooks.distance.spmodel() hatvalues.spmodel() residuals.spmodel()
spmod <- splm(z ~ water + tarp,
  data = caribou,
  spcov_type = "exponential", xcoord = x, ycoord = y
)
influence(spmod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.