Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

influence.gam

Extract the diagonal of the influence/hat matrix for a GAM


Description

Extracts the leading diagonal of the influence matrix (hat matrix) of a fitted gam object.

Usage

## S3 method for class 'gam'
influence(model,...)

Arguments

model

fitted model objects of class gam as produced by gam().

...

un-used in this case

Details

Simply extracts hat array from fitted model. (More may follow!)

Value

An array (see above).

Author(s)

See Also


mgcv

Mixed GAM Computation Vehicle with Automatic Smoothness Estimation

v1.8-35
GPL (>= 2)
Authors
Simon Wood <simon.wood@r-project.org>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.